To install one usually only needs a few commands.
After downloading and placing the tar in the directory you wish to install it in (I use my home dir as it is easy) follow the steps by opening a terminal and making sure you are in your home by typing
ls
This will show the files in the directory and you should also see pcmonitor.tar.gz listed
Next you want to unpack pcmonitor.tar.gz with
tar xzvf pcmonitor.tar.gz
This will create a directory named pcmonitor. Check for it by using ls
. Now you want to run install do this with
sudo ./install
The sudo
is because the installation needs root privledges. From here the installation should take over. Hope this helps.
P.S. It is note worthy to state that this install is not the usual
tar xvzf *.tar.gz
cd *
./configure [options]
make
sudo make install
that works for many other tarballs you may download in the future.
There's no configure
file because the archive contains binaries.
The executable is in /bin/
: assuming that you extracted the folder in ~/Downloads
, you can directly execute the program making it executable by running
chmod +x ~/Downloads/RoKiSim/bin/RoKiSim
and executing it by running
~/Downloads/RoKiSim/bin/RoKiSim
To install it, I suggest you to move the folder to /opt/
by running
sudo mv ~/Downloads/RoKiSim/ /opt/
to make the program executable by running
chmod +x /opt/RoKiSim/bin/RoKiSim
and to add a symbolic link to /usr/bin/
by running
sudo ln -s /opt/RoKiSim/bin/RoKiSim /usr/bin/rokisim
After that, you'll be able to run the program just by running rokisim
.
Best Answer
The first thing you need to do is extract the files from inside the tar archive to a folder. Let's copy the files to your desktop. You can extract an archive by right-clicking the archive file's icon inside your file browser and pressing the appropriate entry in the context menu. Extracting the archive should create a new folder with a similar name. e.g.
program-1.2.3
. Now you need to open your terminal and navigate to that directory using the following command:Make sure you read a file called
INSTALL
,INSTALL.txt
,README
, or something similar if one was extracted. You can check if such a file exists from the terminal by using thels
command. The file can be opened and read with the command:Where INSTALL is the name of your file. This file will contain the right steps to follow to continue the installation process. Usually, the three "classical" steps are:
You may also need to install some dependencies if, for example, running
configure
prompted you with an error listing which dependencies you are missing.You can also use
checkinstall
instead ofmake install
.Remember that your mileage may vary.