1. 安装CSWpkggeg (Install CSWpkgget)
以root权限运行命令:pkgadd -d http://www.blastwave.org/pkg_get.pkg
Run following command as root: pkgadd -d http://www.blastwave.org/pkg_get.pkg
该命令会安装CSWpkgget,这是从BlastWave(最大的Solaris自由软件下载网站之一)上下载并安装软件所需要的包。
This command will install the CSWpkgget package, which is required to automatically download and install packages from BlastWave (one of biggest free software service for Solaris).
当出现提示询问是否继续处理时,输入all,并按回车进行安装。
Type 'all' and enter when asking whether to process.
当询问是否创建目录和安装包时,输入y,按回车继续。
Type 'y' and enter when asking whether to create a directory and install the package.
当安装完成后,会提示:Installation of <CSWpkgget> was successful.
It would print the following words when installation completes: Installation of <CSWpkgget> was successful.
2. 配置pkg-get (Configure pkg-get)
编辑配置文件/opt/csw/etc/pkg-get.conf,将其预设站点url=http://ibiblio.org/pub/packages/solaris/csw/unstable改为和你位置最近的镜像站点。镜像可以在www.blastwave.org/mirrors.php处查询。
Edit the configuration file /opt/csw/etc/pkg-get.conf, change its default site url=http://ibiblio.org/pub/packages/solaris/csw/unstable to the one nearest. The mirrors can be found at www.blastwave.org/mirrors.php.
将pkg-get所在的路径/opt/csw/bin/添加到PATH变量中去,重新登录,并使用echo $PATH命令确认添加成功。
Add the direcroty "/opt/csw/bin/" of command pkg-get to the PATH env variable, relogin, and use the "echo $PATH" to confirm the change.
3. 使用pkg-get命令 (use the pkg-get command)
3.1 安装 (install)
pkg-get install <package name>
3.2 升级 (upgrade)
pkg-get upgrage <package name>
3.3 删除 (remove)
pkg-get remove <package name>
3.4 列出所有已安装软件 (list all installed packages)
pkg-get list
3.5 列出所有可安装软件 (list all available packages)
pkg-get available
分享到:
相关推荐
用于C++ Rust windows环境开发的基础工具,pkg-config-lite-0.28-1_bin-win32
pkg-config 是通过库提供的一个 .pc 文件获得库的各种必要信息的,包括版本信息、编译和连接需要的参数等。这些信息可以通过 pkg-config 提供的参数单独提取出来直接供编译器和连接器使用。
pkg-config本身是一个linux下的命令,其功能是用于获得某一个库/模块的所有编译相关的信息。...# 在windows上面配置pkg-config 将下载的pkg-config_0.23-2_win64解压,解压的bin与MinGW-w64里的的bin目录合并。
pkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line so an application can use gcc -o test test.c `pkg-...
solaris10_mysql安装包_pkg包 因为实在太大了,分了几个包上传
solaris10_mysql安装包_pkg包 因为实在太大了,分了几个包上传
pkg-config for windows x64
read-pkg-up, 读取最近的package.json 文件 read-pkg-up 读取最近的package.json 文件为什么查找关闭的package.json 对象。优雅地处理 文件系统 问题。条 UTF-8 BOM表抛出更有用的JSON错误对数据进行规范化。安装
pkg-config-0.28.tar.gz
pkg-config用来检索系统中安装库文件的信息。典型的是用作库的编译和连接。如在Makefile中
pkg-config for windows x86
最近ubuntu14.04出了问题,pkg-catkin-pkg无法下载,我7月底重装了一次Ubuntu14.04,安装ros lidigo时报错,依赖python-catkin-pkg,但它不会被安装,我刚开始发现这个问题时试过换源,重装系统均不成功,后面去官方...
分享pkg-config-0.29.1.tar.gz源码资源,解决国外站点下载很慢
Node.js使用PKG打包时用到的资源,我的环境里用到的node.js版本是12.16.1,PKG的版本是4.5.1
pkg-dir - 查找一个npm包的根目录
pkg-config_0.23-3_win32.zip
pkg-config is a script to make putting together all the build flags when compiling/linking a lot easier. Report bugs at http://bugzilla.freedesktop.org/
mysql-8.2.0-solaris11-sparc-64bit-pkg.tar 适用于Oracle Solaris 11 (SPARC)
开源项目-bom-d-van-pkgcritic#pkg-critic.zip,Pkg Critic: combine search results from GoDoc API and stats from GitHub API