Warning: Creating default object from empty value in /www/wwwroot/linuxsight.com/wp-content/themes/lensnews/admin/ReduxCore/inc/class.redux_filesystem.php on line 29
Solaris 11安装pkg后缀的软件 _ Linux视野

Solaris

Solaris 11安装pkg后缀的软件

LensNews

 

Oracle Solaris 11搭载了gnome桌面,基本上可以看做是opensolaris的升级。

Solaris平台上有自己的软件包管理机制,软件后缀名是pkg,接下来介绍一下安装pkg后缀的软件的方法。

命令格式:pkgadd -d  ******.pkg

选择opera作为范例。虽然opera已经不再为solaris平台做更新了,opera团队为了花更多精力放在Linux和FreeBSD平台的开发,放弃了Solaris,实在非常遗憾。

选择第一个pkg.bz2下载

下载后直接用图形软件解压缩。

打开终端,输入命令:
fantlam@solaris:~/桌面# pwd
/home/fantlam/桌面
fantlam@solaris:~/桌面# ls
addmoresoftware.desktop          os-next-steps.desktop
opera-10.11.gcc4-static-qt3.pkg  os-register.desktop
fantlam@solaris:~/桌面# pkgadd -d opera-10.11.gcc4-static-qt3.pkg

The following packages are available:
  1  opera     opera
               (i386) 10.11

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: a

Processing package instance from

opera(i386) 10.11
Opera Software ASA

The selected base directory must exist before
installation is attempted.

Do you want this directory created now [y,n,?,q] y
Using as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing opera as

## Installing part 1 of 1.
/usr/local/bin/opera
/usr/local/etc/operaprefs_default.ini
/usr/local/etc/operaprefs_fixed.ini
/usr/local/lib/opera/missingsyms.so
/usr/local/lib/opera/opera
/usr/local/lib/opera/operaplugincleaner
/usr/local/lib/opera/operapluginwrapper
/usr/local/lib/opera/spellcheck.so
/usr/local/lib/opera/works
/usr/local/share/doc/opera/LICENSE
/usr/local/share/icons/hicolor/128x128/apps/opera.png
/usr/local/share/icons/hicolor/16x16/apps/opera.png
/usr/local/share/icons/hicolor/22x22/apps/opera.png
/usr/local/share/icons/hicolor/32x32/apps/opera.png
/usr/local/share/icons/hicolor/48x48/apps/opera.png
/usr/local/share/icons/hicolor/scalable/apps/opera.svg
/usr/local/share/man/man1/opera.1
/usr/local/share/opera/defaults/bookmarks.adr
/usr/local/share/opera/defaults/feedreaders.ini
/usr/local/share/opera/defaults/filehandler.ini
/usr/local/share/opera/defaults/font.ini
/usr/local/share/opera/defaults/license.txt
/usr/local/share/opera/defaults/mailproviders.xml
/usr/local/share/opera/defaults/pluginpath.ini
/usr/local/share/opera/defaults/search.ini
/usr/local/share/opera/defaults/standard_speeddial.ini
/usr/local/share/opera/defaults/standard_trusted_repositories.ini
/usr/local/share/opera/defaults/webmailproviders.ini
/usr/local/share/opera/defaults/xmlentities.ini
/usr/local/share/opera/encoding.bin
/usr/local/share/opera/extra/missingplugin.svg
/usr/local/share/opera/extra/missingpluginhover.svg
/usr/local/share/opera/extra/svg-mo.dat
/usr/local/share/opera/extra/svg-mobd.dat
/usr/local/share/opera/extra/svg-sa.dat
/usr/local/share/opera/extra/svg-sabd.dat
/usr/local/share/opera/extra/svg-se.dat
/usr/local/share/opera/extra/svg-sebd.dat
/usr/local/share/opera/html40_entities.dtd
/usr/local/share/opera/java/opera.jar
/usr/local/share/opera/java/opera.policy
/usr/local/share/opera/lngcode.txt
/usr/local/share/opera/locale/be/be.lng
/usr/local/share/opera/locale/be/bookmarks.adr
/usr/local/share/opera/locale/be/search.ini
/usr/local/share/opera/locale/be/standard_speeddial.ini
/usr/local/share/opera/locale/bg/bg.lng
/usr/local/share/opera/locale/cs/cs.lng
/usr/local/share/opera/locale/da/da.lng
/usr/local/share/opera/locale/de/bookmarks.adr
/usr/local/share/opera/locale/de/de.lng
/usr/local/share/opera/locale/de/search.ini
/usr/local/share/opera/locale/de/standard_speeddial.ini
/usr/local/share/opera/locale/el/el.lng
/usr/local/share/opera/locale/en-GB/bookmarks.adr
/usr/local/share/opera/locale/en-GB/en-GB.lng
/usr/local/share/opera/locale/en-GB/search.ini
/usr/local/share/opera/locale/en-GB/standard_speeddial.ini
/usr/local/share/opera/locale/en/bookmarks.adr
/usr/local/share/opera/locale/en/en.lng
/usr/local/share/opera/locale/en/en.zip
/usr/local/share/opera/locale/en/license.txt
/usr/local/share/opera/locale/en/search.ini
/usr/local/share/opera/locale/en/standard_speeddial.ini
/usr/local/share/opera/locale/es-ES/bookmarks.adr
/usr/local/share/opera/locale/es-ES/es-ES.lng
/usr/local/share/opera/locale/es-ES/search.ini
/usr/local/share/opera/locale/es-ES/standard_speeddial.ini
/usr/local/share/opera/locale/es-LA/es-LA.lng
/usr/local/share/opera/locale/et/et.lng
/usr/local/share/opera/locale/fi/fi.lng
/usr/local/share/opera/locale/fr-CA/fr-CA.lng
/usr/local/share/opera/locale/fr/bookmarks.adr
/usr/local/share/opera/locale/fr/fr.lng
/usr/local/share/opera/locale/fr/search.ini
/usr/local/share/opera/locale/fr/standard_speeddial.ini
/usr/local/share/opera/locale/fy/fy.lng
/usr/local/share/opera/locale/hi/hi.lng
/usr/local/share/opera/locale/hi/standard_speeddial.ini
/usr/local/share/opera/locale/hr/hr.lng
/usr/local/share/opera/locale/hu/hu.lng
/usr/local/share/opera/locale/id/bookmarks.adr
/usr/local/share/opera/locale/id/id.lng
/usr/local/share/opera/locale/id/standard_speeddial.ini
/usr/local/share/opera/locale/it/bookmarks.adr
/usr/local/share/opera/locale/it/it.lng
/usr/local/share/opera/locale/it/search.ini
/usr/local/share/opera/locale/it/standard_speeddial.ini
/usr/local/share/opera/locale/ja/bookmarks.adr
/usr/local/share/opera/locale/ja/ja.lng
/usr/local/share/opera/locale/ja/license.txt
/usr/local/share/opera/locale/ja/search.ini
/usr/local/share/opera/locale/ja/standard_speeddial.ini
/usr/local/share/opera/locale/ka/ka.lng
/usr/local/share/opera/locale/ko/ko.lng
/usr/local/share/opera/locale/lt/lt.lng
/usr/local/share/opera/locale/mk/mk.lng
/usr/local/share/opera/locale/nb/bookmarks.adr
/usr/local/share/opera/locale/nb/nb.lng
/usr/local/share/opera/locale/nb/search.ini
/usr/local/share/opera/locale/nb/standard_speeddial.ini
/usr/local/share/opera/locale/nl/nl.lng
/usr/local/share/opera/locale/nn/nn.lng
/usr/local/share/opera/locale/pl/bookmarks.adr
/usr/local/share/opera/locale/pl/pl.lng
/usr/local/share/opera/locale/pl/search.ini
/usr/local/share/opera/locale/pl/standard_speeddial.ini
/usr/local/share/opera/locale/pt-BR/pt-BR.lng
/usr/local/share/opera/locale/pt/pt.lng
/usr/local/share/opera/locale/ro/ro.lng
/usr/local/share/opera/locale/ru/bookmarks.adr
/usr/local/share/opera/locale/ru/ru.lng
/usr/local/share/opera/locale/ru/search.ini
/usr/local/share/opera/locale/ru/standard_speeddial.ini
/usr/local/share/opera/locale/sk/sk.lng
/usr/local/share/opera/locale/sr/sr.lng
/usr/local/share/opera/locale/sv/sv.lng
/usr/local/share/opera/locale/ta/ta.lng
/usr/local/share/opera/locale/te/te.lng
/usr/local/share/opera/locale/tr/tr.lng
/usr/local/share/opera/locale/uk/bookmarks.adr
/usr/local/share/opera/locale/uk/search.ini
/usr/local/share/opera/locale/uk/standard_speeddial.ini
/usr/local/share/opera/locale/uk/uk.lng
/usr/local/share/opera/locale/vi/vi.lng
/usr/local/share/opera/locale/zh-cn/bookmarks.adr
/usr/local/share/opera/locale/zh-cn/browser.js
/usr/local/share/opera/locale/zh-cn/search.ini
/usr/local/share/opera/locale/zh-cn/standard_speeddial.ini
/usr/local/share/opera/locale/zh-cn/turbosettings.xml
/usr/local/share/opera/locale/zh-cn/zh-cn.lng
/usr/local/share/opera/locale/zh-hk/browser.js
/usr/local/share/opera/locale/zh-hk/turbosettings.xml
/usr/local/share/opera/locale/zh-tw/browser.js
/usr/local/share/opera/locale/zh-tw/turbosettings.xml
/usr/local/share/opera/locale/zh-tw/zh-tw.lng
/usr/local/share/opera/package-id.ini
/usr/local/share/opera/scripts/common.js
/usr/local/share/opera/scripts/substance.js
/usr/local/share/opera/skin/standard_skin.zip
/usr/local/share/opera/styles/about.css
/usr/local/share/opera/styles/cache.css
/usr/local/share/opera/styles/certinfo.css
/usr/local/share/opera/styles/config.css
/usr/local/share/opera/styles/contentblock.css
/usr/local/share/opera/styles/debug.css
/usr/local/share/opera/styles/dir.css
/usr/local/share/opera/styles/error.css
/usr/local/share/opera/styles/history.css
/usr/local/share/opera/styles/im.css
/usr/local/share/opera/styles/image.css
/usr/local/share/opera/styles/images/Opera_256x256.png
/usr/local/share/opera/styles/images/bar.png
/usr/local/share/opera/styles/images/bullet.png
/usr/local/share/opera/styles/images/center.png
/usr/local/share/opera/styles/images/customize.gif
/usr/local/share/opera/styles/images/darkBox.png
/usr/local/share/opera/styles/images/defaultFavicon.png
/usr/local/share/opera/styles/images/error.png
/usr/local/share/opera/styles/images/file.png
/usr/local/share/opera/styles/images/flag.png
/usr/local/share/opera/styles/images/folder.png
/usr/local/share/opera/styles/images/header-expanded.png
/usr/local/share/opera/styles/images/header.png
/usr/local/share/opera/styles/images/opera.png
/usr/local/share/opera/styles/images/page-bot.png
/usr/local/share/opera/styles/images/red_center.png
/usr/local/share/opera/styles/images/red_left.png
/usr/local/share/opera/styles/images/red_right.png
/usr/local/share/opera/styles/images/root.png
/usr/local/share/opera/styles/images/section.png
/usr/local/share/opera/styles/images/smartGroup.png
/usr/local/share/opera/styles/images/top.png
/usr/local/share/opera/styles/images/warning.png
/usr/local/share/opera/styles/info.css
/usr/local/share/opera/styles/m2_welcome_message.mbs
/usr/local/share/opera/styles/mail.css
/usr/local/share/opera/styles/mathml.css
/usr/local/share/opera/styles/message.css
/usr/local/share/opera/styles/mime.css
/usr/local/share/opera/styles/opera.css
/usr/local/share/opera/styles/plugins.css
/usr/local/share/opera/styles/search.css
/usr/local/share/opera/styles/unstyledxml.css
/usr/local/share/opera/styles/user/accessibility.css
/usr/local/share/opera/styles/user/altdebugger.css
/usr/local/share/opera/styles/user/classid.css
/usr/local/share/opera/styles/user/contrastbw.css
/usr/local/share/opera/styles/user/contrastwb.css
/usr/local/share/opera/styles/user/disablebreaks.css
/usr/local/share/opera/styles/user/disablefloats.css
/usr/local/share/opera/styles/user/disableforms.css
/usr/local/share/opera/styles/user/disablepositioning.css
/usr/local/share/opera/styles/user/disabletables.css
/usr/local/share/opera/styles/user/outline.css
/usr/local/share/opera/styles/user/structureblock.css
/usr/local/share/opera/styles/user/structureinline.css
/usr/local/share/opera/styles/user/structuretables.css
/usr/local/share/opera/styles/user/tablelayout.css
/usr/local/share/opera/styles/user/toc.css
/usr/local/share/opera/styles/warning.css
/usr/local/share/opera/styles/webfeeds.html
/usr/local/share/opera/styles/wml.css
/usr/local/share/opera/ui/dialog.ini
/usr/local/share/opera/ui/fastforward.ini
/usr/local/share/opera/ui/standard_keyboard.ini
/usr/local/share/opera/ui/standard_keyboard_compat.ini
/usr/local/share/opera/ui/standard_menu.ini
/usr/local/share/opera/ui/standard_mouse.ini
/usr/local/share/opera/ui/standard_toolbar.ini
/usr/local/share/opera/ui/unix_keyboard.ini
/usr/local/share/opera/unite/fileSharing.ua
/usr/local/share/opera/unite/fridge.ua
/usr/local/share/opera/unite/home.ua
/usr/local/share/opera/unite/mediaPlayer.ua
/usr/local/share/opera/unite/messenger.ua
/usr/local/share/opera/unite/photoSharing.ua
/usr/local/share/opera/unite/webserver.ua
/usr/local/share/pixmaps/opera.xpm
[ verifying class ]

Installation of was successful.
fantlam@solaris:~/桌面#

附:Solaris 命令行界面(Command Line Interface,CLI)工具命令包括几个命令:

  * pkginfo 命令:用来列出有关已安装软件包的信息。

  * pkgadd 命令:用来添加和删除已签名的软件包;

  * pkgrm 命令:用来删除不需要的软件包。

  * pkgchk 命令:用来检验已安装软件包的完整性。

(0)

本文由 Linux视野 作者:fantlam 发表,转载请注明来源!

LensNews

热评文章

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注