Skip to main content

How to install .tar file in UBUNTU 13.04?

You cannot "install" a .tar.gz file or .tar.bz2 file.

These .tar.gz files are g zip-compressed tarfiles , compressed archives like .zip files. .bz2 files. One can extract .tar.gz files using:

tar -xzf file.tar.gz

Similarly one can extract .tar.bz2 files with

tar -xjf file.tar.bz2

If you like to see the files being extracted during unpacking, add v:

tar -xzvf file.tar.gz


If you want to execute some file after extracting some .tar.gz files,

use the following command

find the executable file using ls -lrt command

and look for values of  rwx, where r - read , w -write and x - execute,

there are 3 sets of rwx where one is for the owner of the file, generally the root, second set belongs to the group the user belongs to
and lastly the one for the user itself.



Well dont get into much details
simply write

./filename

to execute the file, after getting into the directory using cd (Change Directory)  command

in case there are permission violations

use the following command

sudo ./filename
hit enter


In this case, asks for root password and then executes the command.


HOPE IT HELPS!

!please LEAVE COMMENTS !

Comments

Post a Comment

Popular posts from this blog

7 ways to install packages in ubuntu llinux!

I like ubuntu because of its high hardware support or wide range of drivers available for underlying hardware and laptops. Many great laptop producing companies has tie up with Ubuntu to provide their laptops and Dell recommends ubuntu for some of its laptops. So if you are new to ubuntu and looking for ways to learn how to operate successfully in ubuntu linux. GO ahead and subscribe to this blogs posts. I update the blog with geral tips and tricks to keep up with ubuntus cutting edge technology and updates. Ways to install packages in ubuntu Linux : 1)  Synaptic Package Manager 2) Ubuntu Software centre 3) installing via .tar file 4) installing via command line using apt-get / adding repositories / updating repositiries / deleting bad repositiries 5) Using GDebi package installer 6) Using dpkg Each method will be discussed in details in later posts. Do subscribe. 

how to take screenshot in gnome (centOS, Linux)

install gnome-utils using the following command [bsingh@localhost ~]$ man gnome-utils No manual entry for gnome-utils [bsingh@localhost ~]$ sudo yum install gnome-utils Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile  * base: ca.mirror.babylon.network  * centosplus: ca.mirror.babylon.network  * epel: ca.mirror.babylon.network  * extras: ca.mirror.babylon.network  * fasttrack: ca.mirror.babylon.network  * nux-dextop: mirror.li.nux.ro  * updates: ca.mirror.babylon.network  * webtatic: us-east.repo.webtatic.com Resolving Dependencies --> Running transaction check ---> Package gnome-utils.x86_64 1:2.28.1-10.el6 will be installed --> Processing Dependency: gnome-utils-libs = 1:2.28.1-10.el6 for package: 1:gnome-utils-2.28.1-10.el6.x86_64 --> Processing Dependency: libgdict-1.0.so.6()(64bit) for package: 1:gnome-utils-2.28.1-10.el6.x86_64 --> Running tran...