Loongson3B1500_Fedora28-5系统下在线安装Code::blocks17.12

龙芯Fedora28-5系统下安装Code::blocks 17.12

  • 1,主机简介
  • 2,CODE::BLOCKS安装
    • 1,查看源上的软件包,
    • 2. 查看软件包详细
    • 3. 安装code::blocks 17.12
    • 4. 打开并使用code::blocks

1,主机简介

cpu类型:loongson3B 1500
主板型号:Lemote A1310
主机系统:Fedora28-5
系统来源:航天龙梦
系统镜像:http://mirror.lemote.com:8000/fedora/fedora28-live/
系统内核:5.4.3-1
内存型号:KVR16N11S8/4-SP 1.5V 4G (单条) * 2
PMON类型:PMON-A1310-1.1.0-8cores-official.bin
关于3b1500主板及系统资料推荐狗剩百科 https://wiki.godson.ac.cn/device:lemote_a1310

2,CODE::BLOCKS安装

1,查看源上的软件包,

使用 sudo dnf search codeblocks 命令

[whj@promote 下载]$ sudo dnf search codeblocks
[sudo] whj 的密码:
上次元数据过期检查:0:23:58 前,执行于 2020年04月26日 星期日 10时24分05秒。
========================== 名称 精准匹配:codeblocks ===========================
codeblocks.mips64el : An open source, cross platform, free C++ IDE
codeblocks.mips64el : An open source, cross platform, free C++ IDE
============================ 名称 匹配:codeblocks =============================
codeblocks-libs.mips64el : Libraries needed to run Code::Blocks and its plug-ins
codeblocks-libs.mips64el : Libraries needed to run Code::Blocks and its plug-ins
codeblocks-devel.mips64el : Files needed to build Code::Blocks plug-ins
codeblocks-contrib.mips64el : Additional Code::Blocks plug-ins
codeblocks-contrib-libs.mips64el : Libraries needed to run Code::Blocks contrib
                                 : plug-ins
codeblocks-contrib-devel.mips64el : Files needed to build Code::Blocks contrib
                                  : plug-ins

2. 查看软件包详细

使用 sudo dnf info codeblocks 命令

[whj@promote 下载]$ sudo dnf info codeblocks
上次元数据过期检查:0:29:34 前,执行于 2020年04月26日 星期日 10时24分05秒。
已安装的软件包
名称         : codeblocks
版本         : 17.12
发布         : 5.fc28.lemote
架构         : mips64el
大小         : 15 M
源           : codeblocks-17.12-5.fc28.lemote.src.rpm
仓库         : @System
来自仓库     : fedora
小结         : An open source, cross platform, free C++ IDE
URL          : http://www.codeblocks.org/
协议         : GPLv3+
描述         : Code::Blocks is a free C++ IDE built specifically to meet the
             : most demanding needs of its users. It was designed, right from
             : the start, to be extensible and configurable. Built around a
             : plug-in framework, Code::Blocks can be extended with plug-in
             : DLLs. It includes a plugin wizard, so you can compile your own
             : plug-ins.

3. 安装code::blocks 17.12

使用 sudo dnf install codeblocks -y 命令

[whj@promote yum.repos.d]$ sudo dnf install codeblocks -y
上次元数据过期检查:0:43:32 前,执行于 2020年04月19日 星期日 08时05分55秒。
依赖关系解决。
================================================================================
 软件包                  架构         版本                     仓库        大小
================================================================================
安装:
 codeblocks              mips64el     17.12-5.fc28.lemote      fedora     5.3 M
安装依赖关系:
 astyle                  mips64el     3.1-5.fc28.lemote        fedora     256 k
 codeblocks-libs         mips64el     17.12-5.fc28.lemote      fedora     1.8 M
 squirrel-libs           mips64el     2.2.5-14.fc28.lemote     fedora     140 k
 tinyxml                 mips64el     2.6.2-16.fc28.lemote     fedora      60 k
 wxGTK3-webview          mips64el     3.0.4-1.fc28.lemote      fedora      65 k
 xterm                   mips64el     331-1.fc28.lemote        fedora     557 k
 xterm-resize            mips64el     331-1.fc28.lemote        fedora      39 k
安装弱的依赖:
 xorg-x11-fonts-misc     noarch       7.5-19.fc28.lemote       fedora     5.8 M

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

总下载:14 M
安装大小:32 M
下载软件包:
(1/9): astyle-3.1-5.fc28.lemote.mips64el.rpm    943 kB/s | 256 kB     00:00    
(2/9): squirrel-libs-2.2.5-14.fc28.lemote.mips6 381 kB/s | 140 kB     00:00    
(3/9): tinyxml-2.6.2-16.fc28.lemote.mips64el.rp 751 kB/s |  60 kB     00:00    
(4/9): wxGTK3-webview-3.0.4-1.fc28.lemote.mips6 829 kB/s |  65 kB     00:00    
(5/9): codeblocks-libs-17.12-5.fc28.lemote.mips 934 kB/s | 1.8 MB     00:01    
(6/9): codeblocks-17.12-5.fc28.lemote.mips64el. 2.4 MB/s | 5.3 MB     00:02    
(7/9): xterm-resize-331-1.fc28.lemote.mips64el. 575 kB/s |  39 kB     00:00    
(8/9): xterm-331-1.fc28.lemote.mips64el.rpm     1.0 MB/s | 557 kB     00:00    
(9/9): xorg-x11-fonts-misc-7.5-19.fc28.lemote.n 2.5 MB/s | 5.8 MB     00:02    
--------------------------------------------------------------------------------
总计                                            4.3 MB/s |  14 MB     00:03     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1 
Installed: wxGTK3-webview-3.0.4-1.fc28.lemote.mips64el
  安装    : wxGTK3-webview-3.0.4-1.fc28.lemote.mips64el                     1/9 
  运行脚本: wxGTK3-webview-3.0.4-1.fc28.lemote.mips64el                     1/9 
Installed: wxGTK3-webview-3.0.4-1.fc28.lemote.mips64el
Installed: tinyxml-2.6.2-16.fc28.lemote.mips64el
  安装    : tinyxml-2.6.2-16.fc28.lemote.mips64el                           2/9 
  运行脚本: tinyxml-2.6.2-16.fc28.lemote.mips64el                           2/9 
Installed: tinyxml-2.6.2-16.fc28.lemote.mips64el
Installed: squirrel-libs-2.2.5-14.fc28.lemote.mips64el
  安装    : squirrel-libs-2.2.5-14.fc28.lemote.mips64el                     3/9 
  运行脚本: squirrel-libs-2.2.5-14.fc28.lemote.mips64el                     3/9 
Installed: squirrel-libs-2.2.5-14.fc28.lemote.mips64el
Installed: codeblocks-libs-17.12-5.fc28.lemote.mips64el
  安装    : codeblocks-libs-17.12-5.fc28.lemote.mips64el                    4/9 
  运行脚本: codeblocks-libs-17.12-5.fc28.lemote.mips64el                    4/9 
Installed: codeblocks-libs-17.12-5.fc28.lemote.mips64el
Installed: xterm-resize-331-1.fc28.lemote.mips64el
  安装    : xterm-resize-331-1.fc28.lemote.mips64el                         5/9 
Installed: xterm-resize-331-1.fc28.lemote.mips64el
Installed: xterm-331-1.fc28.lemote.mips64el
  安装    : xterm-331-1.fc28.lemote.mips64el                                6/9 
Installed: xterm-331-1.fc28.lemote.mips64el
Installed: astyle-3.1-5.fc28.lemote.mips64el
  安装    : astyle-3.1-5.fc28.lemote.mips64el                               7/9 
  运行脚本: astyle-3.1-5.fc28.lemote.mips64el                               7/9 
Installed: astyle-3.1-5.fc28.lemote.mips64el
Installed: codeblocks-17.12-5.fc28.lemote.mips64el
  安装    : codeblocks-17.12-5.fc28.lemote.mips64el                         8/9 
Installed: codeblocks-17.12-5.fc28.lemote.mips64el
Installed: xorg-x11-fonts-misc-7.5-19.fc28.lemote.noarch
  安装    : xorg-x11-fonts-misc-7.5-19.fc28.lemote.noarch                   9/9 
  运行脚本: xorg-x11-fonts-misc-7.5-19.fc28.lemote.noarch                   9/9 
Installed: xorg-x11-fonts-misc-7.5-19.fc28.lemote.noarch
  验证    : astyle-3.1-5.fc28.lemote.mips64el                               1/9 
  验证    : codeblocks-17.12-5.fc28.lemote.mips64el                         2/9 
  验证    : codeblocks-libs-17.12-5.fc28.lemote.mips64el                    3/9 
  验证    : squirrel-libs-2.2.5-14.fc28.lemote.mips64el                     4/9 
  验证    : tinyxml-2.6.2-16.fc28.lemote.mips64el                           5/9 
  验证    : wxGTK3-webview-3.0.4-1.fc28.lemote.mips64el                     6/9 
  验证    : xorg-x11-fonts-misc-7.5-19.fc28.lemote.noarch                   7/9 
  验证    : xterm-331-1.fc28.lemote.mips64el                                8/9 
  验证    : xterm-resize-331-1.fc28.lemote.mips64el                         9/9 

已安装:
  codeblocks-17.12-5.fc28.lemote.mips64el                                       
  xorg-x11-fonts-misc-7.5-19.fc28.lemote.noarch                                 
  astyle-3.1-5.fc28.lemote.mips64el                                             
  codeblocks-libs-17.12-5.fc28.lemote.mips64el                                  
  squirrel-libs-2.2.5-14.fc28.lemote.mips64el                                   
  tinyxml-2.6.2-16.fc28.lemote.mips64el                                         
  wxGTK3-webview-3.0.4-1.fc28.lemote.mips64el                                   
  xterm-331-1.fc28.lemote.mips64el                                              
  xterm-resize-331-1.fc28.lemote.mips64el                                       

完毕!

4. 打开并使用code::blocks

从【应用程序】主菜单选择【编程】项,再选择【Code::Blocks IDE】即可打开
Loongson3B1500_Fedora28-5系统下在线安装Code::blocks17.12_第1张图片
打开的code::blocks如下图:
Loongson3B1500_Fedora28-5系统下在线安装Code::blocks17.12_第2张图片

你可能感兴趣的:(Loongson3B1500_Fedora28-5系统下在线安装Code::blocks17.12)