Archive for category Linux
Installing tar.gz and tar.bz2 files in linux
The installation procedure for software that comes in tar.gz and tar.bz2 packages isn’t always the same, but usually it’s like this:
# tar xvzf package.tar.gz (or tar xvjf package.tar.bz2)
# cd package
# ./configure
# make
# make install
Zip a folder in Linux
The command to zip a folder in Linux (Red Hat Enterprise Linux 4) is as below:
zip -9 -r <zip file> <folder name>
To zip a single file:
zip -9 <zip file> <filename>
Use “-9″ for best compression. The compressed file works fine with Windows XP compression tool.