[Share Experiences] 编译好的unilang下载 - [补充了deepin 20.7的安装过程]
Tofloor
poster avatar
ystyle
deepin
2022-09-18 01:22
Author

现在只有linux的,windows的话,可以安装个wsl

下载链接: https://pan.baidu.com/s/1wiba74gRw1jmK4fBQ7w0dg?pwd=rxmw 提取码: rxmw

官方教程在这: https://gitee.com/linuxdeepin/unilang/blob/master/doc/Introduction.zh-CN.md

deepin 20.7 安装

大概deepin 20+都可以这么安装

在下图标注2的位置的空白处,右键-选择【在打开终端打开】

安装依赖: sudo apt install llvm-7 qtbase5-dev

然后直接在解压目录执行: ./unilang 进入交互模式输入 display "hello world" 后按回车键

或者在解压目录执行: ./unilang hello-world.txt 执行hello world脚本

最后,如果想在任意目录执行unilang可以执行一次这句: echo "export PATH=${PWD}:\${PATH}" >> ~/.bashrc

image.png

Reply Favorite View the author
All Replies
ystyle
deepin
2022-09-18 01:24
#1

话说这个是不是得建一个新的版块啊

Reply View the author
Claw龙虾bot
deepin
Backbone of ecological co-construction group
2022-09-18 01:30
#2
ystyle

话说这个是不是得建一个新的版块啊

我觉得要

Reply View the author
deepin-chinaren
deepin
2022-09-18 02:21
#3
It has been deleted!
deepin-chinaren
deepin
2022-09-18 02:34
#4

这个依赖apt install libffi llvm-7 qtbase5-dev在deepin20.7上安装不上

Reply View the author
ystyle
deepin
2022-09-18 03:13
#5
deepin-chinaren

这个依赖apt install libffi llvm-7 qtbase5-dev在deepin20.7上安装不上

我还没用过这个, 我试的是debian 10

Reply View the author
ljq790615
deepin
2022-09-18 03:17
#6

我在20.7上没有构建成

Reply View the author
ystyle
deepin
2022-09-18 03:58
#7
ljq790615

我在20.7上没有构建成

我试了ubuntu20.04和debian 11, 10,最后在debian 10弄成功了, 主要是前两个我装不上llvm7

Reply View the author
说书人
deepin
2022-09-18 05:30
#8

由你浪,我挺看好的

Reply View the author
晚秋(lateautumn)
Moderator
2022-09-19 00:59
#9

通过这个帖子,我也知道unilang是干什么的了。“由你浪”名字起的不错joy

Reply View the author
ystyle
deepin
2022-09-19 06:12
#10

补充了deepin 20.7的安装过程

Reply View the author
ystyle
deepin
2022-09-19 06:13
#11
deepin-chinaren

这个依赖apt install libffi llvm-7 qtbase5-dev在deepin20.7上安装不上

补充了deepin 20.7的安装过程,可以用了

Reply View the author
vivian_me
deepin testing team
2022-09-20 05:08
#12

好人呐

Reply View the author
cz012273
deepin
2022-09-21 04:28
#13

UOS家庭版(一键安装)环境成功运行!👍 👍 👍

Reply View the author
晚秋(lateautumn)
Moderator
2022-09-22 00:02
#14

弱弱的问一下“wsl”是什么意思?

Reply View the author
ystyle
deepin
2022-09-22 05:58
#15
晚秋(lateautumn)

弱弱的问一下“wsl”是什么意思?

https://blog.csdn.net/tiandiren111/article/details/120984740

这个是使用教程, 另外如果按教程弄,选择发行版时建议选择ubuntu 18.04 ,不然依赖比较难弄

Reply View the author
晚秋(lateautumn)
Moderator
2022-09-22 18:31
#16
ystyle

https://blog.csdn.net/tiandiren111/article/details/120984740

这个是使用教程, 另外如果按教程弄,选择发行版时建议选择ubuntu 18.04 ,不然依赖比较难弄

谢谢,又涨知识了joy

Reply View the author
cz012273
deepin
2022-10-18 04:49
#17

看github上作者又更新了,麻烦楼主再给编译一个传上来呗!(我这里的构建环境总是搭建不好,一运行build就有问题sob

Reply View the author
cz012273
deepin
2022-10-18 13:14
#18

再想问一下:您用的哪种编译器?g++还是clang++?构建时执行的命令是什么?我看下载的包里有三个可执行文件:install-sbuild、sbuild、build,都试了,报的错误不一样。

Reply View the author
ystyle
deepin
2023-01-02 06:57
#19
cz012273

再想问一下:您用的哪种编译器?g++还是clang++?构建时执行的命令是什么?我看下载的包里有三个可执行文件:install-sbuild、sbuild、build,都试了,报的错误不一样。

不好意思,我比较少上这个社区,现在才看到

我使用的是docker, dockerfile如下,放代码根目录下边, 然后执行: docker build -t unilang:master .

FROM debian:buster

RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list \
    && sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list \
    && apt update \
    && apt install -y bash coreutils git g++ libffi-dev llvm-7-dev pkg-config qtbase5-dev libqt5quick5 qtdeclarative5-dev

ADD . /unilang
WORKDIR /unilang

RUN git submodule update --init \
    && ./build.sh

另外: build.sh 需要修改(第9行)

${CXXFLAGS=-std=c++11 -Wall -fPIC -Wextra -g}
Reply View the author