What is the best method to install software on GhostBSD?

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
fmh
Posts: 97
Joined: Wed Jul 23, 2014 2:07 pm
Has thanked: 0
Been thanked: 0

Re: What is the best method to install software on GhostBSD?

Post by fmh » Wed Jul 30, 2014 12:47 pm

$ sudo pkg install -f chromium
Updating repository catalogue
$

User avatar
ericbsd
Developer
Posts: 1442
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 39 times
Been thanked: 56 times

Re: What is the best method to install software on GhostBSD?

Post by ericbsd » Wed Jul 30, 2014 2:37 pm

Can YouTube vive me thé output of

Code: Select all

pkg info pkg

fmh
Posts: 97
Joined: Wed Jul 23, 2014 2:07 pm
Has thanked: 0
Been thanked: 0

Re: What is the best method to install software on GhostBSD?

Post by fmh » Wed Jul 30, 2014 3:26 pm

Should I just wait till Version 4? Not getting anywhere here.

$ pkg info pkg
pkg: No packages installed
$

fmh
Posts: 97
Joined: Wed Jul 23, 2014 2:07 pm
Has thanked: 0
Been thanked: 0

Re: What is the best method to install software on GhostBSD?

Post by fmh » Wed Jul 30, 2014 3:36 pm

Hmm,

Obviously I was not understanding the commands.

$pkg_add -r chromium

That was the command I believe we were after. This start the to fetch Chromium and the dependencies. Anyways it failed because some of the dependencies were not there...

I guess I will do what I can until Version 4.0 comes out.

fmh
Posts: 97
Joined: Wed Jul 23, 2014 2:07 pm
Has thanked: 0
Been thanked: 0

Re: What is the best method to install software on GhostBSD?

Post by fmh » Wed Jul 30, 2014 3:38 pm

No matter what application I try to install all of them fail for various reasons. Missing Library Files, can't create folders, etc...

User avatar
ericbsd
Developer
Posts: 1442
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 39 times
Been thanked: 56 times

Re: What is the best method to install software on GhostBSD?

Post by ericbsd » Wed Jul 30, 2014 4:57 pm

If pkg can not give you the info about pkgng that mean pkgng is not fully install. I will command to you to install pkgng from ports.

Install the latest ports repos with

Code: Select all

sudo portsnap fetch extract
and install pkgng from ports

Code: Select all

# cd /usr/ports/ports-mgmt/pkg
# sudo make install clean
If you have problem I am here to help!

fmh
Posts: 97
Joined: Wed Jul 23, 2014 2:07 pm
Has thanked: 0
Been thanked: 0

Re: What is the best method to install software on GhostBSD?

Post by fmh » Wed Jul 30, 2014 11:44 pm

I ran those

$sudo portsnap fetch extract

$cd /usr/ports/ports-mgmt/pkg
$sudo make install clean

It did its thing for a while and then I did
$pkg_add -r netsurf
It installed without issue but still does not run with the exact same symptoms as in my initial post here. I did the same pkg_add -r for Hatari and Chromium and those had errors and would not install. So it appears that the FreeBSD repository for 9.2 has issues.

User avatar
ericbsd
Developer
Posts: 1442
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 39 times
Been thanked: 56 times

Re: What is the best method to install software on GhostBSD?

Post by ericbsd » Thu Jul 31, 2014 6:00 am

pkg_add might have issue because pkg_add can't update software. If Chromium was not building properly from ports when 9.2 pkg_add repos you will not be able to install Chromium from pkg_add.

I did forget that pkgng did not come install in FreeBSD 9.2. Now try

Code: Select all

sudo pkg info pkg
you should now have an output. If yes do

Code: Select all

sudo pkg2ng
It might work now.

fmh
Posts: 97
Joined: Wed Jul 23, 2014 2:07 pm
Has thanked: 0
Been thanked: 0

Re: What is the best method to install software on GhostBSD?

Post by fmh » Thu Jul 31, 2014 9:07 am

$sudo pkg info pkg
Yes I had output.

$sudo pkg2ng
Yes it worked now.

Chromium and Hatari still would not install with the same errors as in the built in Package Manager and as with prior attempts. So there problem is either in the FreeBSD base used in GhostBSD or in the FreeBSD 9.2 Repository. At this point short of compiling the packages from Source there is nothing that can be done. With Version 4.0 weeks away there's no use in trying any further on this.

Thanks to everyone for their help on this.

Post Reply