Version 4 RC1 Installing Software Issues

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

Re: Version 4 RC1 Installing Software Issues

Post by fmh »

I have no problem deleting the VM and starting over. Installation goes pretty fast. What is the proper way to install software under Ver 4? Compiling something like Hatari is no big deal. PearPC or Virtual Box would be a pain. I don't even know if the source is available for Opera even.
User avatar
bsdkeith
Posts: 129
Joined: Wed Jun 12, 2013 3:36 pm
Location: Surrey/Hants Border, England

Re: Version 4 RC1 Installing Software Issues

Post by bsdkeith »

Personally, I would use packages, therefore :-
(as root, in a terminal)

Code: Select all

pkg install <packagename>
Linux user since 1999; & now a BSD user.
fmh
Posts: 98
Joined: Wed Jul 23, 2014 2:07 pm

Re: Version 4 RC1 Installing Software Issues

Post by fmh »

With a fresh install of Ver4 RC1

sudo pkg install hatari
Updating repository catalogue
FreeBSD repository is up-to-date
All repositories are up-to-date
pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
pkg: No packages available to install matching 'hatari' have been found in the repositories
fmh
Posts: 98
Joined: Wed Jul 23, 2014 2:07 pm

Re: Version 4 RC1 Installing Software Issues

Post by fmh »

If you have problem to install hatari from pkg install it from ports:

cd /usr/ports/emulators/hatari
sudo make install clean

it will take more time to installed, but you will have more option the using pkg.


This does not work on a fresh install of Ver4 RC1 either.

cd /usr/ports/emulators/hatari
cd: The directory “/usr/ports/emulators/hatari” does not exist
Last edited by fmh on Sat Aug 09, 2014 8:52 am, edited 1 time in total.
fmh
Posts: 98
Joined: Wed Jul 23, 2014 2:07 pm

Re: Version 4 RC1 Installing Software Issues

Post by fmh »

The only install of Ver4 RC1 that I can get to work is on real hardware. I did have to mess around at the terminal for an hour but I don't know what combination of commands I did for pkg install <application> to work.

So what are other users doing with Ver4 RC1 after they install the OS to get pkg install <application> to work?
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Version 4 RC1 Installing Software Issues

Post by ericbsd »

You need to install ports by using portsnap.

After you have install GhostBSD you need fetch the whole ports tree. The software that pkg install are precompile software from ports.

Code: Select all

portsnap fetch extract
To update your ports after you have done the above once.

Code: Select all

portsnap fetch update
Ports is the real deal on FreeBSD/GhostBSD, but since Pkgng is out I am not using ports that often now.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Version 4 RC1 Installing Software Issues

Post by ericbsd »

After 4.0 you just need to use it like any software in your system noting to do in particular. I give you couple some advice to help you to play with Pkgng.

To display all pkg install in your system.

Code: Select all

sudo pkg info -a
To find all pkg that start the same letter.

Code: Select all

sudo pkg info -a | grep xf
xf86-input-keyboard-1.8.0_2    X.Org keyboard input driver
xf86-input-mouse-1.9.0_3       X.Org mouse input driver
xf86-video-ati-6.14.6_3        X.Org ati display driver
xf86-video-intel-2.7.1_8       Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.9.4_3      X.Org mach64 display driver
xf86-video-nv-2.1.20_4         X.Org nv display driver
xf86-video-openchrome-0.3.3_3  X.Org openChrome display driver
xf86-video-r128-6.9.2_3        X.Org r128 display driver
xf86-video-vesa-2.3.3_3        X.Org vesa display driver
xf86dgaproto-2.1               XFree86-DGA extension headers
xf86miscproto-0.9.3            XFree86-Misc extension headers
xf86vidmodeproto-2.3.1         XFree86-VidModeExtension extension headers
xfburn-0.5.2                   CD/DVD burning tool for Xfce
xfce4-conf-4.10.0_5            D-Bus-based configuration storage system
To see the information of particular software.

Code: Select all

sudo pkg info gdm
gdm-2.30.7_3
Name           : gdm
Version        : 2.30.7_3
Installed on   : Tue Aug  5 19:13:13 ADT 2014
Origin         : x11/gdm
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : x11 gnome
Maintainer     : gnome@FreeBSD.org
WWW            : http://www.gnome.org/projects/gdm/
Comment        : GNOME 2 version of xdm display manager
Options        :
	IPV6           : on
	KEYRING        : on
Shared Libs required:
	libxml2.so.2
	libxklavier.so.16
	libvorbisfile.so.6
	libpopt.so.0
	libpcre.so.3
	libpangoft2-1.0.so.0
	libpangocairo-1.0.so.0
	libpango-1.0.so.0
	libpanel-applet-2.so.0
	libltdl.so.7
	libintl.so.9
	libiconv.so.3
	libgtk-x11-2.0.so.0
	libgthread-2.0.so.0
	libgobject-2.0.so.0
	libgnomecanvas-2.so.0
	libgnome-2.so.0
	libgmodule-2.0.so.0
	libglib-2.0.so.0
	libgio-2.0.so.0
	libgdk_pixbuf-2.0.so.0
	libgdk-x11-2.0.so.0
	libgconf-2.so.4
	libfreetype.so.6
	libfontconfig.so.1
	libffi.so.6
	libdbus-glib-1.so.2
	libdbus-1.so.3
	libcanberra.so.0
	libcanberra-gtk.so.0
	libcairo.so.2
	libbonoboui-2.so.0
	libbonobo-activation.so.4
	libbonobo-2.so.0
	libatk-1.0.so.0
	libart_lgpl_2.so.5
	libXrender.so.1
	libXrandr.so.2
	libXinerama.so.1
	libXi.so.6
	libXfixes.so.3
	libXext.so.6
	libXdmcp.so.6
	libXdamage.so.1
	libXcursor.so.1
	libXcomposite.so.1
	libXau.so.6
	libX11.so.6
	libORBit-2.so.0
Annotations    :
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 6.11MiB
Description    :
The GNOME 2.0 version of the xdm display manager.  It supports user
icons, multiple sessions, and clean system shutdowns.

WWW: http://www.gnome.org/projects/gdm/
 
To search for new software to install.

Code: Select all

sudo pkg search atari
atari800-3.1.0
hatari-1.7.0
javatari-4.1
To install the software you can do

Code: Select all

sudo pkg install hatari
or

Code: Select all

sudo pkg install hatari-1.7.0
On my amd64 machine all that is working fine. But if you use the i386 image hatari might not be pkg repos.
fmh
Posts: 98
Joined: Wed Jul 23, 2014 2:07 pm

Re: Version 4 RC1 Installing Software Issues

Post by fmh »

If you have problem to install hatari from pkg install it from ports:

Code: Select all

cd /usr/ports/emulators/hatari
sudo make install clean
it will take more time to installed, but you will have more option the using pkg.[/quote]


Well I tried this approach of compiling from Source for Hatari. I figured Hatari is a 2MB object how bad can it be? Well after 15 minutes into answering all kind of questions if I wish to download X dependency and compile it wanted to download 1.3GB of some source package to compile so I canceled the installation.

For me downloading Gigs of Source to install any program is a show stopper.
fmh
Posts: 98
Joined: Wed Jul 23, 2014 2:07 pm

Re: Version 4 RC1 Installing Software Issues

Post by fmh »

When doing any kind of sudo pkg install I get the following message

pkg: Repo FreeBSD needs schema upgrade from 2006 to 2010 but it is opened readonly
pkg: need to re-create repo FreeBSD to upgrade schema version
Updating database digests format: 100%

How to I update the Schema?
User avatar
bsdkeith
Posts: 129
Joined: Wed Jun 12, 2013 3:36 pm
Location: Surrey/Hants Border, England

Re: Version 4 RC1 Installing Software Issues

Post by bsdkeith »

Have you run

Code: Select all

sudo pkg update
Edit: No, sorry, that isn't the problem, just run it myself, along with pkg2ng just in case.

Edit2: I have just PM'ed Eric about this, so hopefully it will be dealt with soon.
Linux user since 1999; & now a BSD user.
Post Reply