Opensuse 初学者使用指北?

openSUSE How to use?我放弃了,因为需要用很多主流软件,没办法…

PS openSUSE 真的很好用,如果只是用来办公,推荐!!!

install vscode

```shell
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo zypper addrepo https://packages.microsoft.com/yumrepos/vscode vscode
sudo zypper refresh
sudo zypper install code
```

OpenSUSE15.1安装搜狗输入法 (pass 搜狗拼音使用qt4开发的,落伍了,现在都qt6了)

```shell
sudo zypper ar -f http://download.opensuse.org/repositories/M17N/openSUSE_Leap_15.1/M17N.repo
sudo zypper refresh      # 刷新软件源 a
sudo zypper install sogou-pinyin
```
```
Sogou & fcitx are not running, safe to go.
Sogou Pinyin Linux is now installed.
Please start 1) fcitx 2) sogou-qimpanel again.
Running: sogou-pinyin-2.2.0.0102-lp151.1.1-sogou-pinyin.sh.txt  (sogou-pinyin, /va[done]
wangnan@install:~> 

Start fcitx

```
来删除我
```
sudo zypper remove sogou-pinyin 
```

直接使用系统自带的输入法,虽然准确率低了点,胜在稳定

使用

```shell
wangnan@install:/> zypper 

用法:

    zypper [--全局选项] <命令> [--命令选项] [参数]
    zypper <子命令> [--命令选项] [参数]

全局选项:

    --help, -h              帮助。
    --version, -V           输出版本号。
    --promptids             输出 zypper 的用户提示列表。
    --config, -c <文件>     使用指定而非默认的配置文件。
    --userdata <字符串>     用户自定义的用于历史和插件中的事务 ID。
    --quiet, -q             压制正常输出,仅打印错误消息。
    --verbose, -v           增加消息的详细程度(调试模式)。
    --color
    --no-color              若 tty 支持是否使用有颜色输出。
    --no-abbrev, -A         在表格中不要缩写文本。 Default: false
    --table-style, -s <整数>
                            表格样式 (0-11).
    --non-interactive, -n   不询问任何选择,自动使用默认回复。 Default: false
    --non-interactive-include-reboot-patches
                            不把那些设置了"建议重启"旗标 的补丁视为可与用户交互的。 Default: false
    --xmlout, -x            切换到 XML 输出。
    --ignore-unknown, -i    忽略未知软件包。 Default: false
    --terse, -t             供程序阅读的简洁输出。这意味着 —no-abbrev 和 —no-color。


    --reposd-dir, -D <文件夹>
                            使用另一个软件源定义文件文件夹。
    --cache-dir, -C <文件夹>
                            为全部缓存使用另一个文件夹。
    --raw-cache-dir <文件夹>
                            使用另一个原始元数据缓存文件夹。
    --solv-cache-dir <文件夹>
                            使用另一个 solv 文件缓存文件夹。
    --pkg-cache-dir <文件夹>
                            使用另一个软件包缓存文件夹。

软件源选项

    --no-gpg-checks         忽略失败的 GPG 校验并继续。 Default: false
    --gpg-auto-import-keys  自动信任并导入新软件源签名密钥。
    --plus-repo, -p <URI>   使用一个附加软件源。
    --plus-content <标签>   也使用提供指定关键字的已禁用软件源。可尝试使用 ‘--plus-content debug’
                            来临时启用表明其提供了侦错软件包的软件源。
    --disable-repositories  不从软件源读取元数据。
    --no-refresh            不刷新软件源。
    --no-cd                 忽略 CD/DVD 软件源。
    --no-remote             忽略远程软件源。
    --releasever            设置全部 .repo 文件中 $releasever 的值(默认:发行版版本号)

目标选项

    --root, -R <文件夹>     在一个不同的根目录下操作。
    --installroot <文件夹>  在一个不同的根目录下操作,但与主机共享软件源。
    --disable-system-resolvables
                            不读取已安装软件包。

命令:

    help, ?               打印 zypper 帮助
    shell, sh             一次性接受多个命令。

软件源管理:

    repos, lr             列出全部已定义的软件源。
    addrepo, ar           添加一个新软件源。
    removerepo, rr        移除指定软件源。
    renamerepo, nr        重命名指定软件源。
    modifyrepo, mr        修改指定软件源。
    refresh, ref          刷新全部软件源。
    clean, cc             清理本地缓存。

服务管理:

    services, ls          列出全部已定义服务。
    addservice, as        添加一个新服务。
    modifyservice, ms     修改指定服务。
    removeservice, rs     移除指定服务。
    refresh-services, refs
                            刷新全部服务。

软件管理:

    install, in           安装软件包。
    remove, rm            移除软件包。
    verify, ve            校验软件包的依赖关系完整性。
    source-install, si    安装源代码包及其编译依赖。
    install-new-recommends, inr
                            安装已安装软件包推荐的新增软件包。

更新管理:

    update, up            用新版本更新已安装软件包。
    list-updates, lu      列出可用更新。
    patch                 安装所需补丁。
    list-patches, lp      List available patches.
    dist-upgrade, dup     执行发行版升级。
    patch-check, pchk     检查补丁。

查询:

    search, se            搜索匹配一个模式的软件包。
    info, if              显示指定软件包的完整信息。
    patch-info            显示指定补丁的完整信息。
    pattern-info          显示指定软件集的完整信息。
    product-info          显示指定产品的完整信息。
    patches, pch          列出全部可用补丁。
    packages, pa          列出全部可用软件包。
    patterns, pt          列出全部可用软件集。
    products, pd          列出全部可用产品。
    what-provides, wp     列出能够提供指定功能的软件包。

软件包锁定:

    addlock, al           添加一个软件包锁定。
    removelock, rl        移除一个软件包锁定。
    locks, ll             列出当前软件包锁定。
    cleanlocks, cl        移除无用的锁定。

区域管理:

    locales, lloc         列出所请求区域 (语言代码)。
    addlocale, aloc       添加区域到所请求区域。
    removelocale, rloc    从所请求区域中移除区域。

其它命令:

    versioncmp, vcmp      比较两个版本字符串。
    targetos, tos         打印目标操作系统 ID 字符串。
    licenses              打印已安装软件包的许可证和最终用户协议的汇总报告。
    download              下载通过命令行指定的 RPM 到本地文件夹。
    source-download       下载全部已安装软件包的源代码 RPM 到一个本地文件夹。
    needs-rebooting       检查需要重启旗标是否设置。
    ps                    列出可能仍使用着被最近升级删除的文件和函数库的运行中进程。
    purge-kernels         移除旧内核。

子命令:

    subcommand            列出可用子命令。
    appstream-cache       <No manual entry for zypper-appstream-cache>
    lifecycle             products and packages lifecycle information

输入 'zypper help <COMMAND>' 获取具体命令的帮助。   

```

双拼使我快乐(默认不带五笔,我已经达到提笔忘字的阶段)参考

安装 synergy

非常棒的跨屏幕工具,不过不知道为啥我的总是有点卡,嗯嗯,可能不是正版软件吧。

sudo apt-get install synergy
synergys --address 192.168.1.102 --no-daemon 
wangnan@install:/> synergys --help
Usage: synergys [--address <address>] [--config <pathname>] [--display <display>] [--no-xinitthreads] [--daemon|--no-daemon] [--name <screen-name>] [--restart|--no-restart] [--debug <level>]

Start the synergy mouse/keyboard sharing server.

  -a, --address <address>  listen for clients on the given address.
  -c, --config <pathname>  use the named configuration file instead.
  -d, --debug <level>      filter out log messages with priority below level.
                             level may be: FATAL, ERROR, WARNING, NOTE, INFO,
                             DEBUG, DEBUG1, DEBUG2.
  -n, --name <screen-name> use screen-name instead the hostname to identify
                             this screen in the configuration.
  -1, --no-restart         do not try to restart on failure.
*     --restart            restart the server automatically if it fails.
  -l  --log <file>         write log messages to file.
      --no-tray            disable the system tray icon.
      --enable-drag-drop   enable file drag & drop.
      --enable-crypto      enable the crypto (ssl) plugin.
      --display <display>  connect to the X server at <display>
      --no-xinitthreads    do not call XInitThreads()
  -f, --no-daemon          run in the foreground.
*     --daemon             run as a daemon.
  -h, --help               display this help and exit.
      --version            display version information and exit.

* marks defaults.

The argument for --address is of the form: [<hostname>][:<port>].  The
hostname must be the address or hostname of an interface on the system.
The default is to listen on all interfaces.  The port overrides the
default port, 24800.

If no configuration file pathname is provided then the first of the
following to load successfully sets the configuration:
  /home/wangnan/.synergy.conf
  /etc/synergy.conf

如果熟悉synery操作的人应该知道,有一个ssl加密,还有一个屏幕设置,都需要配置,我们来查看一下 /etc/synergy.conf 是否有我们需要的东西。哎呀,完全不知道他在说啥 尴尬了!

# sample synergy configuration file
#
# comments begin with the # character and continue to the end of
# line.  comments may appear anywhere the syntax permits.

section: screens
        # three hosts named:  moe, larry, and curly
        moe:
        larry:
        curly:
end

section: links
        # larry is to the right of moe and curly is above moe
        moe:
                right = larry
                up    = curly

        # moe is to the left of larry and curly is above larry.
        # note that curly is above both moe and larry and moe
        # and larry have a symmetric connection (they're in
        # opposite directions of each other).
        larry:
                left  = moe
                up    = curly

        # larry is below curly.  if you move up from moe and then
        # down, you'll end up on larry.
        curly:
                down  = larry
end

section: aliases
        # curly is also known as shemp
        curly:
                shemp
end

哎呦我去,一堆操作猛如虎
有关synergy.conf 在这里,嗨嗨 奈何篇幅所限,我也没读,这可急坏我了呀。
这回安装synergy-core

安装 alien

不得不说openSUSE安装包跟ubuntu有很大不同,我最开始安装了
shell sudo zypper addrepo https://download.opensuse.org/repositories/home:alsoft:main/openSUSE_Tumbleweed/home:alsoft:main.repo sudo zypper refresh sudo zypper install alien
这里是给风滚草的安装包,需要perl 5.32,我觉得还是不是不适合我的系统,在software中重新搜索alien,安装15.2对应的版本。
在这里插入图片描述

安装 sunlogin

su -c "alien -rc SunloginClient-10.1.1.38139_amd64.deb && rpm -i SunloginClient-10.1.1.38139_amd64.rpm"   
su -c "alien -rc sunloginclientshell-10.1.1.28779-amd64.deb && rpm -i sunloginclientshell-10.1.1.28779-amd64.2.deb"   

安装百度网盘

sudo zypper install libXtst libnotify libuuid nss
sudo zypper install libuuid-devel-static libnotify nss-mdns libXtst-devel-64bit

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
六祎--在原创力花了大价钱买来的,分享给需要的人! 最后更新:2016年5 月2 日 search by FreeFind 1. 简介 2. 改用 GNU/Linux 3. 获取 openSUSE 4. 安装 日常应用 5. KDE 桌面环境 6. 常用软件 7. 安全设置 8. 终端命令行 9. 管理员设置 (YaST) 10. 软件安装 11. 软件源 12. 与Windows 世界兼容 设置 13. 多媒体编解码器 14. 浏览器插件 15. 显卡驱动 1. 简介 16. 无线网 17. 开发环境 这篇文档的初衷,是希望为刚刚接触 openSUSE Leap 并打算将其用作家庭或者办公桌面 18. 软件打包服务OBS 系统的新手提供一份简洁易懂的指南,我们希望这份指南包含所有新手可能会遇到的问 19. LAMP和LNMP 20. 其他常见服务软件 题并提供合适的解决方案。 附录 A: 帮助和文档 相信这篇指南会帮助您更容易的通往openSUSE之路,同时我们为感兴趣的读者提供了一 B: 游戏 份附录,以便您能够更多的了解openSUSE和GNU/Linux 。 C. 深入了解 D. 提示和解决方法 E. 历史和背景 请注意这份指南并非由 openSUSE 项目 或 SUSE LINUX Products GmbH (SUSE LINUX 产品 F: 重在参与 有限责任公司) 或 Micro Focus International 官方提供。正如标题中所言,这只是一份非官 GNU 自由文档许可证 方指南。 希望它能对您有所帮助! 1.1 关于 openSUSE Leap open in browser PRO version Are you a developer? Try out the HTML to PDF API openSUSE Leap 是一个基于GNU/Linux的计算机操作系统。相对于微软的Windows 系统而 言,它是开源并且免费的。openSUSE Leap 适用于家庭或者小型办公应用中的很多计算机 设备,比如笔记本、台式电脑、上网本、服务器以及多媒体中心。 openSUSE Leap 是最主要的GNU/Linux发行版之一,并且也是历史最为悠久的发行版之 一。 openSUSE Leap 使用源自 SUSE Linux Enterprise 的内核系统,但带有最新的硬件支 持、桌面环境和图形程序。 每年发布一个主补丁包,并且每隔 3-4 年发布新的主发行版 并更新内核系统。 (注:从上个版本 openSUSE 13.2 到 openSUSE Leap 42.1 是大的跨 越,版本号和发布方式都有很大变化,但对用户使用没啥区别。) 对富有经验和喜欢冒险的 GNU/Linux 用户,如果想要他们的操作系统冒点风险并体验刀 尖上的艺术, 可以试用滚动发行的 openSUSE 版本,称为 openSUSE Tumbleweed 。 openSUSE Leap 是由社区志愿者和 SUSE 公司雇员一起公开、透明地开发的,openSUSE 这些系统对个人来说是完全免费的,包括使用和在线更新。 1.2 本指南其他语言版本(衍生版)
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值