fedora23 安装python3

本文记录了在Linux Fedora系统上安装Zsh及Oh-My-Zsh的过程,包括解决依赖问题和配置默认Shell。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

本来目的是想在linux上使用python学习神经网络的,但是随着学习的进度需要有一个python的环境实验一下。于是就开始折腾python了。在搜索python的时候又找到了zsh这个玩意,顺藤摸瓜的又发现了oh-my-zsh,这一串儿的到底是啥东西。为啥我每次想做点啥都得做好多的准备呢,反正已经习惯了。
我把这次的安装经历记录一下,边装边记录。
1.首先安装zsh,要不然oh-my-zsh也会提示让你先装zsh的。
下面就是我在安装zsh的过程中去尝试安装on-my-zsk的结果:
[zhang@zwfedora23 my_tools]$ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
--2017-02-15 11:40:42--  https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.100.133
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|151.101.100.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:4018 (3.9K) [text/plain]
正在保存至: “STDOUT”

-                                            100%[===========================================================================================>]   3.92K  --.-KB/s    in 0.001s  

2017-02-15 11:40:46 (4.67 MB/s) - 已写入至标准输出 [4018/4018]

Zsh is not installed! Please instal

下面的是安装完之后zsk的过程:

[zhang@zwfedora23 ~]$ sudo dnf install zsh
[sudo] zhangwei 的密码:
Repository fzug-free is listed more than once in the configuration
Repository fzug-free-source is listed more than once in the configuration
Repository fzug-nonfree is listed more than once in the configuration
Repository fzug-nonfree-source is listed more than once in the configuration
fbRPM Fusion for Fedora 23 - Free - Updates                              0% [                                                                    ] ---  B/s |   0  B     --:-- ETRPM Fusion for Fedora 23 - Free - Updates                                                                                                         27 kB/s | 371 kB     00:13    
RPM Fusion for Fedora 23 - Free                                                                                                                   28 kB/s | 457 kB     00:16    
RPM Fusion for Fedora 23 - Nonfree                                                                                                                15 kB/s | 156 kB     00:10    
上次元数据过期检查:0:00:06 前,执行于 Wed Feb 15 11:38:49 2017。
依赖关系解决。
=================================================================================================================================================================================
 Package                               架构                                     版本                                             仓库                                       大小
=================================================================================================================================================================================
安装:
 zsh                                   x86_64                                   5.1.1-4.fc23                                     updates                                   2.6 M

事务概要
=================================================================================================================================================================================
安装  1 软件包

总下载:2.6 M
安装大小:6.2 M
确定吗?[y/N]: y
确定吗?[y/N]: y
下载软件包:
zsh-5.1.1-4.fc23.x86_64.rpm                                                                                                                      519 kB/s | 2.6 MB     00:05    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                                             273 kB/s | 2.6 MB     00:09     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  安装: zsh-5.1.1-4.fc23.x86_64                                                                                                                                              1/1 

  验证: zsh-5.1.1-4.fc23.x86_64                                                                                                                                              1/1 

已安装:
  zsh.x86_64 5.1.1-4.fc23                                                                                                                                                        

完毕!
[zhang@zwfedora23 ~]$ 
2.继续安装oh-my-zsh
[zhang@zwfedora23 my_tools]$ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
--2017-02-15 11:53:23--  https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh
正在解析主机 raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.100.133
正在连接 raw.githubusercontent.com (raw.githubusercontent.com)|151.101.100.133|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:4018 (3.9K) [text/plain]
正在保存至: “STDOUT”

-                                            100%[===========================================================================================>]   3.92K  --.-KB/s    in 0.002s  

2017-02-15 11:53:28 (2.31 MB/s) - 已写入至标准输出 [4018/4018]

Cloning Oh My Zsh...
正克隆到 '/home/zhang/.oh-my-zsh'...
remote: Counting objects: 829, done.
remote: Compressing objects: 100% (699/699), done.
remote: Total 829 (delta 14), reused 738 (delta 9), pack-reused 0
接收对象中: 100% (829/829), 565.13 KiB | 360.00 KiB/s, 完成.
处理 delta 中: 100% (14/14), 完成.
检查连接... 完成。
Looking for an existing zsh config...
Using the Oh My Zsh template file and adding it to ~/.zshrc
Time to change your default shell to zsh!
正在更改 zhang 的 shell。
密码:
shell 已更改。
         __                                     __   
  ____  / /_     ____ ___  __  __   ____  _____/ /_  
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \ 
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / / 
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/  
                        /____/                       ....is now installed!


Please look over the ~/.zshrc file to select plugins, themes, and options.

p.s. Follow us at https://twitter.com/ohmyzsh.

p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.

➜  my_tools 
➜  my_tools 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值