DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th December 2014
Crypto333 Crypto333 is offline
Port Guard
 
Join Date: Oct 2014
Posts: 25
Question How to install kde in openbsd v5.6?

I watched lots of videos but when I type such commands, replies like: this package is empty, or something wrong just happen

what to do?
Reply With Quote
  #2   (View Single Post)  
Old 30th December 2014
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 283
Default

Quote:
but when I type such commands
What commands? The exact commands you enter and the exact error messages would be helpful information for those who can help. (Not me, but people who are knowledgeable.)
Reply With Quote
  #3   (View Single Post)  
Old 30th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I will assume you are referring to 5.6-release. I will also assume you did not install filesets from a network, but installed them from CD or USB device. This is because if you install filesets from a network location, the installer will create /etc/pkg.conf for you, pointing to the packages on the mirror you used during installation, so that you can run the pkg_add(1) command without either creating the file yourself (see the pkg.conf(5) man page) or using the PKG_PATH environment variable. My example uses the environment variable.

I will also assume you are using amd64. You might be using i386 or sparc64, based on the panic you photographed and linked in your prior thread. If you are using one of these other architectures, please adjust the PKG_PATH environment variable accordingly.

Step 1. Export the PKG_PATH variable, pointing to the packages at your nearest mirror. You can find your nearest mirror here.

# export PKG_PATH=http://<your nearest mirror>/pub/OpenBSD/5.6/packages/amd64/

Step 2. Install either the kde4-minimal installation, or the kde4 full installation. This example shows the full installation.

# pkg_add kde4

Here's the OpenBSD README file you get when you install either kde4 or kde4-minimal on 5.6-release:
Code:
+-----------------------------------------------------------------------
| Running kde4-4.13.3 on OpenBSD
+-----------------------------------------------------------------------

The KDE4 desktop can be installed using 2 different meta-packages:
    * kde4-minimal, for a base KDE4 SC installation
    * kde4, for a full KDE4 SC installation
They are focused on standard usage; i.e., development packages are left
out on purpose and can be installed via kdesdk and kdebindings packages.
Also, there is a kdegames meta-package which will install all games from
KDE4 SC.


Starting KDE4
==============
Before running startkde4(1), a system-wide D-Bus daemon needs to be
running ("dbus_daemon" needs to be added to the "pkg_scripts" variable
in rc.conf.local(8)):

  # echo 'pkg_scripts="$pkg_scripts dbus_daemon"' >>/etc/rc.conf.local

Then the following line should be added:

  exec /usr/local/bin/ck-launch-session /usr/local/bin/startkde4

... in ~/.xinitrc when using startx(1) (console login)
... in ~/.xsession when using xdm(1) (X Display Manager login)


Profile location
================

By default, KDE 4 in OpenBSD looks for ~/.kde4. You can override this
by setting up KDEHOME environment variable, but please note that KDE 3
uses this variable, too. On the bright side, KDE 3 and 4 profiles are
mostly compatible: KDE 4 apps that change storage or config format,
usually create their own copy using the new format in a separate place,
so in the worst case you'll have some settings duplicated and not
shared.


Renamed binaries
================

Some executable files in /usr/local/bin directory were renamed
by adding the "4" suffix to avoid clashes with KDE 3 ones, namely:

  * kdebugdialog
  * khelpcenter
  * kjscmd
  * kreadconfig
  * kstart
  * ktrash
  * kwriteconfig

The third party programs or scripts that rely on "standard" names
will obviously fail. So beware of blind running foreign scripts
(you shouldn't be doing this in the first place, though, if you're
running OpenBSD), the best could happen is that they will tweak
your KDE3 setup instead.


mDNS/DNS-SD support
===================
The avahi-daemon(8) daemon provides Zeroconf support (aka. Bonjour /
Rendezvous) in KDE.

To make use of it multicasting should be enabled, and "avahi_daemon"
needs to be added to the "pkg_scripts" variable _after_ "dbus_daemon":

  # echo 'multicast_host=YES' >>/etc/rc.conf.local
  # echo 'pkg_scripts="$pkg_scripts dbus_daemon avahi_daemon"' >>/etc/rc.conf.local

Last edited by jggimi; 30th December 2014 at 01:30 PM. Reason: typos
Reply With Quote
  #4   (View Single Post)  
Old 30th December 2014
Crypto333 Crypto333 is offline
Port Guard
 
Join Date: Oct 2014
Posts: 25
Default

I will put a pic of the problem when installing nano shortly
Reply With Quote
  #5   (View Single Post)  
Old 30th December 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Nano != KDE. Your problem descriptions are incomplete and misleading. Please see this thread for guidance.
Reply With Quote
  #6   (View Single Post)  
Old 30th December 2014
Crypto333 Crypto333 is offline
Port Guard
 
Join Date: Oct 2014
Posts: 25
Default

kk I will start an new thread special for nano and then we will continue kde here
Reply With Quote
  #7   (View Single Post)  
Old 30th December 2014
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Judging from this thread, the problem is probably that the machine has no internet access, and thus can't fetch the package from the OpenBSD servers. (can you merge threads?)
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
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
I need like to install DenyHosts on OpenBSD 4.9! CyberJet OpenBSD Packages and Ports 5 23rd June 2011 09:49 PM
how i can install wine on openbsd 4.8 craze OpenBSD Packages and Ports 8 6th March 2011 03:11 AM
Install OpenBSD 3.6 zabidin2 OpenBSD Installation and Upgrading 4 22nd September 2010 10:09 AM
How - To install GNOME vile I install OpenBSD ? looop OpenBSD Installation and Upgrading 6 24th April 2010 08:58 PM
install ssh openbsd darken OpenBSD Packages and Ports 22 26th September 2008 02:58 AM


All times are GMT. The time now is 11:51 AM.


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