Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

How Do You Install Programs In Linux


  • Please log in to reply

#16
Thebinaryman

Thebinaryman

    Member

  • Member
  • PipPipPip
  • 326 posts
um, i probably gave you the wrong arguments for the tar command, i did the one for a tar.gz, not tar.bz2, sorry.

but as for an rpm (if your os supourts it)


su
password
cd <directory where rpm is>
rpm -ivh <rpm filename>
  • 0

Advertisements


#17
Kemasa

Kemasa

    Nobody

  • Technician
  • 1,727 posts

this is what i get when i try what you tell me
i think it must be me
[ratilio@localhost ~]$ su
Password:
[root@localhost ratilio]# cd /home/ratilio
[root@localhost ratilio]# tar zxf MPlayer-1.0pre7try2.tar.bz2

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
...


It is not a gzip file, it is a bzip2 file, so either use bunzip2 to uncompress the file, then use tar, or use the "j" option with tar instead of "z": tar xjf MPlayer-1.0pre7try2.tar.bz2

I would also strongly suggest that before you extract any files, you look at what is going to be extracted first "t" instead of "x". Also extract the files as a non-root user, only use root if and when you want to install the files, but you can still avoid this by installing the files into a directory owned by a non-root account. It is best to have the files not owned by the normal user that you use to ensure that it can not be modified. Problems are rare, but that does not mean you don't have to be safe.
  • 0

#18
Kemasa

Kemasa

    Nobody

  • Technician
  • 1,727 posts

i am really confused now i used to think linux was easy but now i think its weird
i mean i like it but its just a big complication for new users and i also would like to know why if the rpms when i click on the they don't self install but they are opened on a folder way


Linux is easy, but it is different and that causes issues since it is not what you are used to.

I am not sure of what you are using with respect to the rpm, but you don't always want to just install the files, sometimes you want to look to see what is in it. You can use the command "rpm" to do various things. A typiical install would be "rpm -ihv FILE", but if the package is already installed, you might need to use "U" to update the install.
  • 0

#19
el_rata_y3k

el_rata_y3k

    Member

  • Topic Starter
  • Member
  • PipPip
  • 29 posts
Thanks everyone for all the help
i will give it a try later because i'm using windows now
i was just trying to use linux to get a taste of what it is like to use it
i still have it on a partition but for now i will read a little more and then i will give it a try
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP