Installation of additional software in Suse
hi all, thanks for the help on the migration from centos to suse. i am research student, so i frequently need to install software related to my work from the sources (the usual thing of making and compiling). as i'm new to suse, i want to know how easy it is build from sources and install software with suse. it would be nice if anyone would clarify on these points. i am planning to use suse 9.1 professional version on my machine. 1. is it possible to install additional software which comes as source and not as rpms? 2. can yast be useful in the above respect? 3. as far as i know, yast normally updates the softwares based on the updates provided by suse. in case the software that i need is not provided by suse, then what do i do? thanks for any help bye. chaitanya. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
Chaitanya Krishna A wrote:
1. is it possible to install additional software which comes as source and not as rpms?
Yes, and if you install checkinstall, you can replace the make install step with checkinstall and install it as well as register it (and produce an rpm) with the rpm database for easier uninstall.
2. can yast be useful in the above respect?
No.
3. as far as i know, yast normally updates the softwares based on the updates provided by suse. in case the software that i need is not provided by suse, then what do i do?
You can check 3rd party repositories, such as packman.links2linux.org, or the apt repositories on ftp.gwdg.de, or just compile it and install it yourself. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Chaitanya Krishna A wrote:
hi all,
thanks for the help on the migration from centos to suse.
i am research student, so i frequently need to install software related to my work from the sources (the usual thing of making and compiling).
Good on you.
as i'm new to suse, i want to know how easy it is build from sources and install software with suse. it would be nice if anyone would clarify on these points. i am planning to use suse 9.1 professional version on my machine.
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
2. can yast be useful in the above respect?
Yes, you can point YaST at a local directory to install or update RPM's you have built.
3. as far as i know, yast normally updates the softwares based on the updates provided by suse. in case the software that i need is not provided by suse, then what do i do?
The stuff above covers that. Treat any distro as Linux and you already know the basics, the differences lie mainly in where they choose as default install locations, e.g SuSE uses /opt/kde3 configure prefix, Mandrake uses /usr and gentoo /usr/kde/3.x I think, the tools they use are also different and easy to get used to. The apt4RPM is much the same as apt in Debian and apt4RPM on RedHat. I have SuSE 9.2 x86 and x86_64, Mandrake 10.1 and gentoo installed on separate boxes. I have no trouble installing from sources on any of them.
thanks for any help bye. chaitanya.
Regards Sid. -- Sid Boyce .... Large Computer Systems Specialist - Retired Hamradio Callsign G3VBV and Keen Private Pilot Aeroplanes, Linux, Computers and Cricket my major passions ===== LINUX USED HERE, A Microsoft-free Computing Environment ====
On Friday 18 March 2005 15:56, Sid Boyce wrote:
Chaitanya Krishna A wrote:
hi all,
thanks for the help on the migration from centos to suse.
i am research student, so i frequently need to install software related to my work from the sources (the usual thing of making and compiling).
Good on you.
as i'm new to suse, i want to know how easy it is build from sources and install software with suse. it would be nice if anyone would clarify on these points. i am planning to use suse 9.1 professional version on my machine.
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
2. can yast be useful in the above respect?
Yes, you can point YaST at a local directory to install or update RPM's you have built.
Sid: I'm afraid you did not understand question 1. completely. YaST can be helpfull when installing rpm packages. YaST cannot be helpfull when *purely* installing from source. As the OP is talking about source, and specifically excludes rpms in question 1., IMO the answer to question 2. has to be: No. ;)
3. as far as i know, yast normally updates the softwares based on the updates provided by suse. in case the software that i need is not provided by suse, then what do i do?
The stuff above covers that. Treat any distro as Linux and you already know the basics, the differences lie mainly in where they choose as default install locations, e.g SuSE uses /opt/kde3 configure prefix, Mandrake uses /usr and gentoo /usr/kde/3.x I think, the tools they use are also different and easy to get used to. The apt4RPM is much the same as apt in Debian and apt4RPM on RedHat. I have SuSE 9.2 x86 and x86_64, Mandrake 10.1 and gentoo installed on separate boxes. I have no trouble installing from sources on any of them.
See http://linux01.gwdg.de/apt4rpm/, and http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/ The latter contains apt 9.1-i386 repositories, RPMS.* contain .i?86.rpm's, SRPMS.* contain the .src.rpm's. Tip: if you decide to use apt, start with only a few repositories (base, security and update). Only add repositories if you need them. Cheers, Leen
Leendert Meyer wrote:
On Friday 18 March 2005 15:56, Sid Boyce wrote:
Chaitanya Krishna A wrote:
hi all,
thanks for the help on the migration from centos to suse.
i am research student, so i frequently need to install software related to my work from the sources (the usual thing of making and compiling).
Good on you.
as i'm new to suse, i want to know how easy it is build from sources and install software with suse. it would be nice if anyone would clarify on these points. i am planning to use suse 9.1 professional version on my machine.
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
2. can yast be useful in the above respect?
Yes, you can point YaST at a local directory to install or update RPM's you have built.
Sid: I'm afraid you did not understand question 1. completely.
YaST can be helpfull when installing rpm packages.
YaST cannot be helpfull when *purely* installing from source.
As the OP is talking about source, and specifically excludes rpms in question 1., IMO the answer to question 2. has to be: No. ;)
3. as far as i know, yast normally updates the softwares based on the updates provided by suse. in case the software that i need is not provided by suse, then what do i do?
The stuff above covers that. Treat any distro as Linux and you already know the basics, the differences lie mainly in where they choose as default install locations, e.g SuSE uses /opt/kde3 configure prefix, Mandrake uses /usr and gentoo /usr/kde/3.x I think, the tools they use are also different and easy to get used to. The apt4RPM is much the same as apt in Debian and apt4RPM on RedHat. I have SuSE 9.2 x86 and x86_64, Mandrake 10.1 and gentoo installed on separate boxes. I have no trouble installing from sources on any of them.
See http://linux01.gwdg.de/apt4rpm/, and http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/
The latter contains apt 9.1-i386 repositories, RPMS.* contain .i?86.rpm's, SRPMS.* contain the .src.rpm's.
Tip: if you decide to use apt, start with only a few repositories (base, security and update). Only add repositories if you need them.
Cheers,
Leen
If you point YaST at /usr/src/packages/RPMS/i386 where checkinstall puts the RPM's that are built - perhaps I didn't word my response properly, ./configure make checkinstall OR ./configure checkinstall Then use YaST. Regards Sid. -- Sid Boyce .... Large Computer Systems Specialist - Retired Hamradio Callsign G3VBV and Keen Private Pilot Aeroplanes, Linux, Computers and Cricket my major passions ===== LINUX USED HERE, A Microsoft-free Computing Environment ====
Sid Boyce wrote:
If you point YaST at /usr/src/packages/RPMS/i386 where checkinstall puts the RPM's that are built - perhaps I didn't word my response properly, ./configure make checkinstall If you use checkinstall, it installs it as well as making the rpm, so no need to use Yast (unless you are reinstalling after uninstalling) -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Sid Boyce wrote:
Chaitanya Krishna A wrote: <snip>
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
2. can yast be useful in the above respect?
Yes, you can point YaST at a local directory to install or update RPM's you have built.
I have never had any success using YaST 2.x to install a locally-built rpm. YaST 1.x could do this, but version 2.x seems to require a structure similar to the install directory tree on the ftp site. Am I missing something?
On Friday 18 March 2005 16:43, Darryl Gregorash wrote:
Sid Boyce wrote:
Chaitanya Krishna A wrote: <snip>
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
2. can yast be useful in the above respect?
Yes, you can point YaST at a local directory to install or update RPM's you have built.
I have never had any success using YaST 2.x to install a locally-built rpm. YaST 1.x could do this, but version 2.x seems to require a structure similar to the install directory tree on the ftp site. Am I missing something?
Yes, I think so. Try 'man yast2', or in KDE: <Alt>-<F2>, followed by 'man:yast2' (no quotes). Hint: '-i'. Cheers, Leen
Leendert Meyer wrote:
On Friday 18 March 2005 16:43, Darryl Gregorash wrote:
<snip>
I have never had any success using YaST 2.x to install a locally-built rpm. YaST 1.x could do this, but version 2.x seems to require a structure similar to the install directory tree on the ftp site. Am I missing something?
Yes, I think so. Try 'man yast2', or in KDE: <Alt>-<F2>, followed by 'man:yast2' (no quotes). Hint: '-i'.
I was thinking more along the lines of being able to do this from the install/remove software menu, complete with conflict and dependency resolution.
Darryl Gregorash wrote:
I have never had any success using YaST 2.x to install a locally-built rpm. YaST 1.x could do this, but version 2.x seems to require a structure similar to the install directory tree on the ftp site. Am I missing something? It is a choice on individual files via konqueror, but now that you mention it mine 9.2 x86_64 doesn't work. Instead of installing the rpm you clicked on, it reinstalls the one from the original source. I just use kpackage. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Darryl Gregorash wrote:
Sid Boyce wrote:
Chaitanya Krishna A wrote: <snip>
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
2. can yast be useful in the above respect?
Yes, you can point YaST at a local directory to install or update RPM's you have built.
I have never had any success using YaST 2.x to install a locally-built rpm. YaST 1.x could do this, but version 2.x seems to require a structure similar to the install directory tree on the ftp site. Am I missing something?
I haven't tried it with YasT2 now I think about it, but I've built a patch CD for a box at my daughter's and sure, that needed the directory structure. Regards Sid. -- Sid Boyce .... Large Computer Systems Specialist - Retired Hamradio Callsign G3VBV and Keen Private Pilot Aeroplanes, Linux, Computers and Cricket my major passions ===== LINUX USED HERE, A Microsoft-free Computing Environment ====
Sid Boyce wrote:
1. is it possible to install additional software which comes as source and not as rpms?
Much the same way as in any distro apart from gentoo which additionally has emerge, though you can do normal installs on gentoo also. You can do the normal"make install" or use "checkinstall" which will generate a RPM so you can install or upgrade a package and keep the RPM database honest.
In response to the above, two things were stated in response. 1. You need to have the same directory structure as in the SuSE archive - TRUE. 2. checkinstall installs the stuff as well as creating the RPM - FALSE. From checkinstall ================== Done. The new package has been saved to /usr/src/packages/RPMS/i386/bridge-utils-1.0.6-1.i386.rpm You can install it in your system anytime using: rpm -i bridge-utils-1.0.6-1.i386.rpm ********************************************************************** barrabas:/ftp/mar05/bridge-utils-1.0.6 # rpm -qpl /usr/src/packages/RPMS/i386/bridge-utils-1.0.6-1.i386.rpm /usr /usr/include /usr/include/libbridge.h /usr/lib /usr/lib/libbridge.a /usr/man /usr/man/man8 /usr/man/man8/brctl.8.gz /usr/sbin /usr/sbin/brctl barrabas:/ftp/mar05/bridge-utils-1.0.6 # which brctl barrabas:/ftp/mar05/bridge-utils-1.0.6 # barrabas:/ftp/mar05/bridge-utils-1.0.6 # rpm -ivh /usr/src/packages/RPMS/i386/bridge-utils-1.0.6-1.i386.rpm Preparing... ########################################### [100%] 1:bridge-utils ########################################### [100%] barrabas:/ftp/mar05/bridge-utils-1.0.6 # which brctl /usr/sbin/brctl barrabas:/ftp/mar05/bridge-utils-1.0.6 # Regards Sid. -- Sid Boyce .... Large Computer Systems Specialist - Retired Hamradio Callsign G3VBV and Keen Private Pilot Aeroplanes, Linux, Computers and Cricket my major passions ===== LINUX USED HERE, A Microsoft-free Computing Environment ====
2. checkinstall installs the stuff as well as creating the RPM - FALSE. I stand corrected. I just checked mine (I haven't used it in a while), and the current version has an install option, which by the default /etc/checkinstallrc is set to 0, so I guess it does no longer automatically install. When I last used it, it did install. Sorry for
Sid Boyce wrote: the misinformation, I didn't know it had changed. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
participants (5)
-
Chaitanya Krishna A
-
Darryl Gregorash
-
Joe Morris (NTM)
-
Leendert Meyer
-
Sid Boyce