LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2004, 11:20 AM   #1
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
how to upgrade programs in linux?


I have been running linux for about a year now, Suse 9.0
I am curious to how i upgrade programs in linux?


I understand with Rpm the upgrade option is rpm -Uvh
However, im not sure how do upgrade a program with a program I have to compile first.


for example i want to upgrade the Nautilus window manager in Suse. I want to replace it with the source version of the program. How would i go about installing Nautilus, in a way where i dont have duplicate copies of Nautilus installed on my system.????
 
Old 08-30-2004, 12:06 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"for example i want to upgrade the Nautilus window manager in Suse. I want to replace it with the source version of the program. How would i go about installing Nautilus, in a way where i dont have duplicate copies of Nautilus installed on my system.????"

The best way to keep things straight when you do your own compiles on a rpm based distribution is to first compile your source into a rpm package and then update the rpm package in the normal way. The key to creating your own rpm is to use checkinstall.

http://asic-linux.com.mx/~izto/checkinstall/

When you use checkinstall as part of a compile the command sequence for the compile becomes:
./configure
make
checkinstall

Then you use the resulting rpm package to upgrade or install the package in the usual manner using rpm.

------------------------------
Steve Stites
 
Old 08-30-2004, 01:32 PM   #3
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
yes i have used checkinstall before

but for those linux users out there that dont have checkinstall installed in their computer, how would they upgrade the source codes without creating duplicate files in the process. or does the make install writes over the existing files there were on the computer???


and one more silly question if you dont mind??


I noticed you mentioned "rpm based distro" of linux. Are those distros that simply support rpm packages... or the entire distro is one giant rpmn package?)

like which distro is a non rpm based distro??
 
Old 08-30-2004, 03:46 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"but for those linux users out there that dont have checkinstall installed in their computer"

You can download checkinstall from the checkinstall home page.


"does the make install writes over the existing files there were on the computer???"

Yes.

"I noticed you mentioned "rpm based distro" of linux. Are those distros that simply support rpm packages... or the entire distro is one giant rpmn package?)"

They are distributions in which all of the software is distributed as rpm packages. Typically, a distribution will have several thousand rpm packages.

"like which distro is a non rpm based distro??"

Debian, Gentoo, Slackware ...

--------------------------
Steve Stites
 
Old 08-30-2004, 04:31 PM   #5
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
if you dont want to use check install is there a way to install a source program without creating duplicates on the computer???????
 
Old 08-30-2004, 04:33 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
(./configure && make && makeinstall) shouldnt create duplicates, it should overwrite
 
Old 08-30-2004, 04:37 PM   #7
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
Thanks alot
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with windows programs in linux (QEMU, WINE, or linux alternative) bulldogzerofive Linux - Software 2 08-18-2005 06:49 PM
Are these programs - or equivalent programs - available for Linux? voly Linux - Software 12 07-29-2005 03:44 AM
Some programs stopped working after apt-get upgrade. Golradir Fedora 3 10-31-2004 03:28 PM
How do I install and upgrade programs in SUSE 9.1 geostone Linux - Newbie 3 07-06-2004 03:29 PM
Installing programs in linux? which progs? can linux do the things windows can? James-jmpm Linux - Newbie 6 07-02-2004 08:01 PM


All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration