I generated an STL file using OpenSCAD, but I'm unable to view it because I don't have any software that can open it. Are there any free and open-source software packages that can view STL files and can be installed on Ubuntu using the command
sudo apt-get install <packagename>?
You can install Blender using
sudo apt-get install blender and it can import STL files.