Adding/Removing Software under Freebsd

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
Normally I would go into the /usr/ports directory of the software and do a 'make deinstall'
Then I'm reading about 'pkg_remove' and 'pkg_add'

What is the difference, and what is the appropriate way to install new software.

Also how to go about updating software with a newer version.
 

pedrog

Member
Jun 30, 2001
68
0
0
Hi,

Generally, I only compile myself, from ports, if I have to (special optimizations, special libraries, etc.).
You can install a binary and it's dependencies using the -r (remote) command.

pkg_add -r programname

Here is what the FreeBSD guys have to say about ports, (pretty much what you do now)

FreeBSD handbook

and somebody else too

more info yet

and even more!

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I think with packages you have to have the package locally on the machine, but Im not sure.
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
thx for the tip. 'pkg_add' requires the tar file in hand, while 'make install clean' will go fetch the files for you.
This is why I love freebsd. It took me 15 minutes to update PHP on my mandrake box today. damn dependencies!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
This is why I love freebsd. It took me 15 minutes to update PHP on my mandrake box today. damn dependencies!

Perhaps you should install a distribution that actually does what you want then? Debian does auto-dependency fullfilling and you won't have to wait for it to compile.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< im going to wait for woody to come out. do you know when that will be? >>



When its done
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
good one...im itching to try it out. i hear good things about apt-get

However, i dont want to touch potato right now. i have this thing against old kernels.
it's running like 2.2 right? i like having the new stuff. besides, i dual boot and cant stand
the 8 gig limitation LILO puts on you with the older kernels.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
When its done

Pretty much. It's frozen, but no date has been set so I wouldn't hold my breath. They have to wait for all 6-8 (some are just hoped for woody releases) ports to get working before a date can be set.

It did a http install of woody last night (XFS boot disks are woody only) and it worked great. I personally don't see a reason to wait.

Just saw your post about old kernels. woody is also slated for release with a 2.2 kernel, because they don't believe the 2.4 kernels are stable enough. You can run 2.4 kernels with no problem, but the CDs will have 2.2.something on it.

the 8 gig limitation LILO puts on you with the older kernels.

It has nothing to do with 2.2 kernels, it's a lilo/BIOS limitation. Using a newer lilo and 2.2 kernel won't be affected by the 1024 cylinder problem.
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
is it worth downloading SID? I just found a mirror to get the ISO. It has the 2.4.17 kernel.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< When its done

Pretty much. It's frozen, but no date has been set so I wouldn't hold my breath. They have to wait for all 6-8 (some are just hoped for woody releases) ports to get working before a date can be set.
>>



KDE developers use the "when its done" excuse. I heard that and loved it. Did you ever check out my dselect for Mac OS X link?

 

pedrog

Member
Jun 30, 2001
68
0
0
no the '-r' options automagically downloads the binaries from the mothership

try it
 

pedrog

Member
Jun 30, 2001
68
0
0
i just added cvsupit (and dependencies) with this

pkg_add -r cvsupit

look ma not local tar files
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< i just added cvsupit (and dependencies) with this

pkg_add -r cvsupit

look ma not local tar files
>>



Ill try it on OpenBSD next time I delve into ports. I never bothered with packages much because I like to add optimizations to some things.
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81


<< It has nothing to do with 2.2 kernels, it's a lilo/BIOS limitation. Using a newer lilo and 2.2 kernel won't be affected by the 1024 cylinder problem. >>



So, if i were to download the stable version (Potato) I should be ok? I am tempted to download SID.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |