LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   FreeBSD...Programs Install methods... (https://www.linuxquestions.org/questions/%2Absd-17/freebsd-programs-install-methods-60134/)

Obscure 05-16-2003 11:31 AM

FreeBSD...Programs Install methods...
 
I'm configuring my new installation of FreeBSD 5.0:study: and I'm a bit confused about pkgs!!:scratch:

Anyone can expalin or has a good link (to a HowTO, Tutorial) explained the package system

I haven't got a internet connection trought the FreeBSD computer so I can do CVS or ports!

For example: now I want to install FluxBox but there aren't FreeBSD pkgs on FluxBox site!!
I want to build my own FreeBSD FluxBox package:study:
What should I do??

TnxVM
:D

mister_math 05-16-2003 03:47 PM

To start out, I would look here:
http://www.freebsd.org/doc/en_US.ISO...ook/ports.html

But if you don't have an internet connection, you'll have to get the files to your system somehow. I would recommend ports. The simplest way to do this (all this is in the link above, BTW) is to go to ftpn.freebsd.org (where n is some number) and download the .tar.gz file from there and put it in /usr/ports/distfiles. Then just do:

(for fluxbox)
#cd /usr/ports/x11-wm/fluxbox/
#make install clean

That's all there is to it!

stickman 05-16-2003 08:55 PM

Fluxbox 0.1.14 is available on the FreeBSD website. You can also get fbdesk. Just search the ports and download. Once you get the package, just use the pkg_add command.

Obscure 05-17-2003 09:42 AM

Tnx VM mister_math & stickman!!!
I'm working on it an study the Howto!!!!
I will try!!
Tnx!

Obscure 05-19-2003 05:08 AM

Ok!! I've learned something more about ports!!:)
But I got this problem: the version of my fluxbox .tgz is newer than the port version! What should i do?Download the new MakeFile and other config files??:newbie:

trn 05-19-2003 10:38 PM

if you cvsup your ports the fluxbox port is 1.14 or whatever. If you are trying to run a devel version or flux .92 i think is the latest then you can just manual build it. Sounds like you just need to cvsup your ports (update the ports collection) theres a nice section on cvsup in the handbook.

Obscure 05-20-2003 09:47 AM

Well!!But i don't have a internet connection!!!
I've downoaded the MakeFile & others but there's a difference between the versions of .tgz file!!
The ports doesn't works 'cause search for fluxbox-0.1.14.tar.gz but I've found only fluxbox-0.1.14_2.tar.gz (on ftp.freebsd.org)!!Rename doesn't work!!!

Obscure 05-20-2003 09:49 AM

The ports and CVSUP are great but if you don't have an internet connection they are not so practical!!!!

Manadien 05-22-2003 03:21 PM

Check out the handbook in my sig but all admin things are done in FreeBSD via the /stand/sysinstall program. To install new packages you select Configure -> Packages. Or as someone pointed out you can make it in the ports.

Obscure 05-26-2003 04:13 AM

Tnx VM!!! I'm working on it!!

mister_math 05-28-2003 04:23 PM

Quote:

Originally posted by Obscure
Well!!But i don't have a internet connection!!!
I've downoaded the MakeFile & others but there's a difference between the versions of .tgz file!!
The ports doesn't works 'cause search for fluxbox-0.1.14.tar.gz but I've found only fluxbox-0.1.14_2.tar.gz (on ftp.freebsd.org)!!Rename doesn't work!!!

I have an idea, but I have NO idea if it would work, so don't quote me on this. If you edit the MakeFile, there should be, near the top, a variable declaration of PORTVERSION. Just change this to 0.1.14_2, or whatever, and see if it works.


Alternatively, if you can find a machine running FreeBSD with an internet connection, and they keep their ports up to date, just zip the entire /usr/ports/ directory and transfer it to your computer. Don't forget to run 'portsdb -Uu' afterwords, though.

Obscure 05-29-2003 03:26 AM

Tnx VM!!!I'm just study on FreeBSD handbook and I've "updated manualy" the ports that I'm interested in!!
I hope to have an internet connection soon!!!!!
TNx
Obscure

5amYan 06-03-2003 02:35 AM

why do you not have an internet connection?
 
How are you posting this?


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