sudoc:su_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sudoc:su_installation [2021/02/20 01:05] – [Additional items] seisunix | sudoc:su_installation [2023/03/23 22:05] (current) – [Installing SU on specific platforms] seisunix | ||
---|---|---|---|
Line 5: | Line 5: | ||
In more recent releases of Microsoft Windows, there is a "bash shell" environment available, which is a version of Ubuntu Linux. An older solution to the Windows versus Unix question is a system called Cygwin, which comes in 32 bit and 64 bit systems. For Microsoft Windows installations, | In more recent releases of Microsoft Windows, there is a "bash shell" environment available, which is a version of Ubuntu Linux. An older solution to the Windows versus Unix question is a system called Cygwin, which comes in 32 bit and 64 bit systems. For Microsoft Windows installations, | ||
+ | |||
+ | More recently in Ubuntu 20.04 and later, the Linux environment for Window is called the Windows Linux Subsystem (WSL) and is an effective environment for installing Linux operating systems. Yet another tool is the Hyper-V virtual machine environment. | ||
Everything that follows in this discussion is executed on the "Unix command line". To do anything further requires that you | Everything that follows in this discussion is executed on the "Unix command line". To do anything further requires that you | ||
Line 224: | Line 226: | ||
None of these is essential for running most of SU. | None of these is essential for running most of SU. | ||
+ | |||
+ | |||
+ | ==== Installing SU on specific platforms ==== | ||
+ | |||
+ | === Ubuntu 22.04 === | ||
+ | |||
+ | After you have installed Ubuntu 22.04, no matter what environment you are using for this, there are addition packages that must be installed. | ||
+ | |||
+ | $ sudo apt-get install xorg | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | |||
+ | $ sudo apt-get install xorg | ||
+ | |||
+ | $ sudo apt-get install gcc | ||
+ | |||
+ | $ sudo apt-get install libx11-dev | ||
+ | |||
+ | $ sudo apt-get install libxt-dev | ||
+ | |||
+ | $ sudo apt-get install libxext-dev | ||
+ | |||
+ | $ sudo apt-get install make | ||
+ | |||
+ | $ sudo apt-get install libmotif-dev | ||
+ | |||
+ | $ sudo apt-get install libtirpc-dev | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
=== Case study: Linux Mint notes contributed by a user, including comments on the sfinstall portion === | === Case study: Linux Mint notes contributed by a user, including comments on the sfinstall portion === | ||
Line 242: | Line 276: | ||
# Check CWPROOT is set. | # Check CWPROOT is set. | ||
+ | |||
. ~/.bashrc | . ~/.bashrc | ||
+ | |||
cd $CWPROOT | cd $CWPROOT | ||
# grab and unpack SU | # grab and unpack SU | ||
+ | |||
cp ~/ | cp ~/ | ||
+ | |||
tar -xzvf cwp_su_all_44R19.tgz | tar -xzvf cwp_su_all_44R19.tgz | ||
# set the make config to Linux_x86_64. | # set the make config to Linux_x86_64. | ||
+ | |||
cd src | cd src | ||
+ | |||
cp configs/ | cp configs/ | ||
# Make the base seismic unix. | # Make the base seismic unix. | ||
+ | |||
make install | make install | ||
# Install the required libraries for the X-toolkit windows. | # Install the required libraries for the X-toolkit windows. | ||
+ | |||
sudo apt-get install libx11-dev libxt-dev | sudo apt-get install libx11-dev libxt-dev | ||
+ | |||
make xinstall | make xinstall | ||
# Install the required libraries for the Fortran codes | # Install the required libraries for the Fortran codes | ||
+ | |||
sudo apt-get install gfortran | sudo apt-get install gfortran | ||
+ | |||
# add the string ' | # add the string ' | ||
+ | |||
make finstall | make finstall | ||
# Install Mesa/OpenGL items | # Install Mesa/OpenGL items | ||
+ | |||
sudo apt-get install libglu1-mesa-dev freeglut3-dev libxmu-dev libxmu-headers libxi-dev | sudo apt-get install libglu1-mesa-dev freeglut3-dev libxmu-dev libxmu-headers libxi-dev | ||
+ | |||
make mglinstall | make mglinstall | ||
sudoc/su_installation.1613783135.txt.gz · Last modified: 2021/02/20 01:05 by seisunix