DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default Full install of Gnome on OpenBSD 4.4

I want install OpenBSD 4.4 and I want install full Gnome on it , I want install Gnome with everything ,
How I can do this ?


when I use OpenBSD 4.2 I found best link about this topic in bsdforums.org
but right now I can not find it
Reply With Quote
  #2   (View Single Post)  
Old 5th November 2008
Nightweaver's Avatar
Nightweaver Nightweaver is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Belgrade, Serbia
Posts: 47
Thanked 5 Times in 4 Posts
Default

I usually install gnome-desktop and gnome-session. That should do it.
__________________
If it moves, crypt it. Unless it's static - than you should double-crypt it.
Reply With Quote
  #3   (View Single Post)  
Old 5th November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,431
Thanked 214 Times in 189 Posts
Default

The full list of Gnome applications can be found in the ports tree, by perusing the www/gnome hierarchy. One can produce a list of packages for install by using:
$ cd /usr/ports/www/gnome
$ make show=pkgname
Reply With Quote
  #4   (View Single Post)  
Old 5th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

But I want install ALL Gnome Packages by pkg_add from internet
I found good way before in BSDforums.org but right now this is site is down
Reply With Quote
  #5   (View Single Post)  
Old 5th November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,431
Thanked 214 Times in 189 Posts
Default

[Spoon Feed]

Take the output from make show=pkgnames, and produce a list of packages which are used as input to pkg_add. Here is one possible method:

$ cd /usr/ports/www/gnome
$ pkg_add `make show=pkgname | awk '{if(NF==1) print $1}'`

[/Spoon Feed]

Note: any packages marked broken will obviously not be included in available packages. Rather than routing the output from the "make show" directly into pkg_add, you may wish to place it in a file that you can edit.

Last edited by jggimi; 5th November 2008 at 03:06 PM. Reason: Additonal notes
Reply With Quote
  #6   (View Single Post)  
Old 6th November 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Thanked 35 Times in 31 Posts
Default

I think jggimi's method is more complete than the one I'm about to propose.

Code:
#pkg_info -Q gnome
I think jggimi's is more complete because it will mention packages that are for Gnome that don't necessarily have the word "gnome" in them. But it's nice to see different ways to do things, imho.
__________________
Network Firefighter
Reply With Quote
  #7   (View Single Post)  
Old 8th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

can someone put here all thing I must install for Gnome on OpenBSD 4.4 like text file and I do install all of them with pkg_add ?
Reply With Quote
  #8   (View Single Post)  
Old 8th November 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,833
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by mfaridi View Post
can someone put here all thing I must install for Gnome on OpenBSD 4.4 like text file and I do install all of them with pkg_add ?
Because a number of us run 4.4-current, any type of output provided may not match what is found in 4.4-release.

Thus, you can generate your own list by writing a simple shell or Perl script which will isolate the package name from the command previously provided by jggimi:
Code:
#!/usr/bin/perl

foreach (`make show=pkgname`) {
    next if $_ eq "\n";
    s!^.*/!!;
    print;
}
You really need to consider spending the time needed to learn how to write simple scripts for yourself.
Reply With Quote
  #9   (View Single Post)  
Old 8th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by jggimi View Post
[Spoon Feed]

Take the output from make show=pkgnames, and produce a list of packages which are used as input to pkg_add. Here is one possible method:

$ cd /usr/ports/www/gnome
$ pkg_add `make show=pkgname | awk '{if(NF==1) print $1}'`

[/Spoon Feed]

Note: any packages marked broken will obviously not be included in available packages. Rather than routing the output from the "make show" directly into pkg_add, you may wish to place it in a file that you can edit.
when I run
Code:
pkg_add -rv `make show=pkgname | awk '{if(NF==1) print $1}'`
I see this error

Code:
/usr/sbin/pkg_add: Missing pkgname
Usage: pkg_add [-acIinqruvx] [-A arch] [-B pkg-destdir] [-F keywords]
       [-L localbase] [-P type] [-Q quick-destdir] pkg-name [...]
Reply With Quote
Old 8th November 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,833
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by mfaridi View Post
when I run
Code:
pkg_add -rv `make show=pkgname | awk '{if(NF==1) print $1}'`
I see this error

Code:
/usr/sbin/pkg_add: Missing pkgname
Usage: pkg_add [-acIinqruvx] [-A arch] [-B pkg-destdir] [-F keywords]
       [-L localbase] [-P type] [-Q quick-destdir] pkg-name [...]
Correct. Look at the output of the following to see why:

$ make show=pkgname

...where the output is:
Code:
===> x11/gnome/alacarte

===> x11/gnome/applets2

===> x11/gnome/at-spi

===> x11/gnome/audio

===> x11/gnome/backgrounds

===> x11/gnome/baker

===> x11/gnome/build
...
Piping this output into the awk script if (NF == 1) print $1; will generate no output because the script looks for lines containing only one field. There is no lines found in the output of make show=pkgname which only contains one field.

As has been mentioned to you before, you need to understand what the commands used do. If you don't understand, learn. This is what will make your efforts effective.

The Perl script I supplied strips out everything except for the name of the package. Don't only use it, but find an online tutorial to explain what it does. Read the manpage to perl(1) too. Learn.
Reply With Quote
Old 8th November 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

mfaridi,

have you noticed ports/x11/gnome ?

i think that will give you a good set of gnome program / packages.

why would you want to install ALL gnome packages?
gnome is bloatware as it is even with the minimal set of packages.
Reply With Quote
Old 8th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by ephemera View Post
mfaridi,

have you noticed ports/x11/gnome ?

i think that will give you a good set of gnome program / packages.

why would you want to install ALL gnome packages?
gnome is bloatware as it is even with the minimal set of packages.
I like install Gnome with pkg_add and I do not like install it with ports
Reply With Quote
Old 8th November 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Thanked 49 Times in 43 Posts
Default

Quote:
Originally Posted by mfaridi View Post
I like install Gnome with pkg_add and I do not like install it with ports
well, in that case give Ocicat's script a try.
i don't know why you haven't tried it already.
Reply With Quote
Old 8th November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,431
Thanked 214 Times in 189 Posts
Default

NEVER blindly type something in you read in a "HowTo", in a FAQ, or from here.

You should always know what a command you type will do ... and why.

Quote:
Originally Posted by ocicat View Post
Piping this output into the awk script...will generate no output...
That's because the line was typed in a hurry, without testing. The correct make show would be
show=PKGNAME
not
show=pkgname
Quote:
...Learn.
It was an unintentional error, but I hope you can understand this lesson, mfaridi. Other commands you type blindly may cause damage.
Reply With Quote
Old 9th November 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,833
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by mfaridi View Post
I like install Gnome with pkg_add and I do not like install it with ports
You appear to be missing the point. The list jggimi gave you is the list of all packages for GNOME. The list just happens to be created from information found in the ports tree (which is the definitive source for this information...). If for some reason you don't want to install the ports tree for this task, consider installing it on a USB drive. The ports tree itself is ~250MB in size. If you don't want to install the ports tree at all, I'm afraid that no one can/will help you.
Reply With Quote
Old 9th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

thanks all guys
After one day I install Gnome with
Code:
pkg_add -rv gnome-session
and after that install XFCE4 , everything is OK and I use OpenBSD 4.4 with Gnome ,
good thing I see I can install many package like k3b and other thing in OpenBSD 4.4 , before I use OpenBSD 4.2 and I can not many package like K3B
Reply With Quote
Old 9th November 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,431
Thanked 214 Times in 189 Posts
Default

XFCE is not Gnome. K3B is a KDE application. KDE is not Gnome, either.
Reply With Quote
Old 9th November 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 282
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by jggimi View Post
XFCE is not Gnome. K3B is a KDE application. KDE is not Gnome, either.
Yes I know , I say I install some XFCE packages and some KDE packages too.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error code 1 whie make install gnome mtm0 NetBSD General 3 4th September 2009 11:56 AM
Links for softwares after install (kde, gnome, firefox) ahlsner NetBSD General 14 12th August 2009 10:46 PM
New User - Ports Install and GNOME Pkg problems IronForge OpenBSD Packages and Ports 9 14th July 2009 08:34 PM
/usr is full (OpenBSD 4.5 current) valorisa OpenBSD Packages and Ports 7 10th June 2009 01:28 PM
Gnome issues in OpenBSD 4.2 Shredder OpenBSD General 61 27th May 2008 07:34 AM


All times are GMT. The time now is 07:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick