Wine 3.0

Ubuntu各种衍生版本
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Wine 3.0

#1

帖子 寺島聰子 » 2018-02-21 0:10

Wine 3.0 Stable Released – Install on Debian, Ubuntu and Linux Mint
https://www.tecmint.com/install-wine-on ... inux-mint/

~ $ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
[sudo] password for m:
~ $

sudo apt-get update

パッケージリストを読み込んでいます... 完了
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_trusty_main_binary-amd64_Packages)
W: Duplicate sources.list entry https://dl.winehq.org/wine-builds/ubuntu/ trusty/main i386 Packages (/var/lib/apt/lists/dl.winehq.org_wine-builds_ubuntu_dists_trusty_main_binary-i386_Packages)
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
~ $

Should I crush mint 17.2 any more, should I only use ubuntu mate 16.04?
Or maybe. . . . It is painful because I do not go sunnery every time.
Linux hard disk only. Multi boot of mint 17.2 and ubuntu mate 16.04. 99% mint 17.2 used. Although ubuntu mate 16.04 is preparing an equivalent application,
ubuntu mate 16.04 has 1 giga of memory consumption at startup? For closeness.
The amount of memory used immediately after startup is mint 17.2 64 bits approximately 360 MB swap 0
Why is there so much different from mint 17.2

あとで、正確に計測してみます
稍後,我會準確測量
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#2

帖子 寺島聰子 » 2018-02-21 1:02

安全にメモリ消費を少なくする方法はないものか?
有沒有辦法安全地減少內存消耗?
附件
UbuntuMate 16.04起動直後.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#3

帖子 poloshiao » 2018-02-21 8:55

Linux Mint 17.2
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
1. https://www.tecmint.com/install-wine-on ... inux-mint/
How do I install Wine?
Wine 3.0 Stable Released – Install on Debian, Ubuntu and Linux Mint
This article describes a few easy steps to install Wine 3.0 under Debian 9-8, Ubuntu 17.04, 16.10-16.04 and Linux Mint 18-17 systems

代码: 全选

$ sudo dpkg --add-architecture i386    [Enable 32-bit Arch]
$ wget -nc https://dl.winehq.org/wine-builds/Release.key
$ sudo apt-key add Release.key
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
$ sudo apt-get update
$ sudo apt-get install --install-recommends winehq-stable
2. Refer to
https://wiki.winehq.org/Ubuntu
Ubuntu
Installing WineHQ packages
sudo apt-get install --install-recommends winehq-stable
3. The option "--install-recommends" is by default in Ubuntu, so it could be omitted.
ubuntu mate 16.04 has 1 giga of memory consumption at startup? For closeness.
The amount of memory used immediately after startup is mint 17.2 64 bits approximately 360 MB swap 0
Why is there so much different from mint 17.2
安全にメモリ消費を少なくする方法はないものか?
有沒有辦法安全地減少內存消耗?
4. It will be modified by swap Configuration
4-1. Refer to :
4-1-1. https://help.ubuntu.com/community/SwapFaq
Search by keywords "swap partition", "swap file", "swappiness", "free command" and "priority of swap"
4-1-2. It was changed by default from swap partition to swap file since Ubuntu 17.04 release.
https://wiki.ubuntu.com/ZestyZapus/ReleaseNotes#Swap
For new installs, a swap file will be used instead of a swap partition.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#4

帖子 寺島聰子 » 2018-02-21 10:32

poloshiao殿。申し訳ありません。整理して書いてもらって、ありがとうございます。
まず、『まったく同じ質問を前にしたことがある』と気づきました。
I'm sorry. Thank you for being organized and written.
First of all, I noticed that "I have had the same question before."
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
この行をググって調べた。
I examined this line by googling.
https://github.com/certbot/certbot/issues/5063
this warning is harmless.
内容は理解できなかったが、この一文のみを信じて、
我無法理解這些內容,但只相信這句話,

libosmesa6:amd64 (10.1.3-0ubuntu0.6) を設定しています ...
libosmesa6:i386 (10.1.3-0ubuntu0.6) を設定しています ...
libc-bin (2.19-0ubuntu6.13) のトリガを処理しています ...
m@m ~ $
インストール終わり。
目も悪いので、ウェブページに書いてある記述をいい加減に読み飛ばしている。学習したことも、ぜんぜん積み上がっていかない。
安裝結束。
因為我的眼睛不好,我跳過了我網頁上的描述。 即使學習沒有堆積起來。 :Sad
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#5

帖子 poloshiao » 2018-02-21 13:34

Should I crush mint 17.2 any more, should I only use ubuntu mate 16.04?
1. Ubuntu Mate is one of the official flavours but Mint is not.
1-1. https://wiki.ubuntu.com/XenialXerus/Rel ... l_flavours
Official flavours

2. It is update to your choice after you have finished reading these introductions :
2-1. https://thishosting.rocks/linux-mint-vs-ubuntu/
Linux Mint vs Ubuntu: Detailed Comparison
2-2. https://ubuntuforums.org/showthread.php?t=2355784
What is the difference Linux Mint vs Ubuntu Flavor
2-3. https://forums.linuxmint.com/viewtopic.php?t=236248
significant difference with mint and ubuntu?
2-4. https://unix.stackexchange.com/question ... -mint-mate
What would be the key deciding factors for me to decide whether to install Ubuntu Mate or Linux Mint Mate?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#6

帖子 poloshiao » 2018-02-21 20:11

W: Ignoring Provides line with DepCompareOp for package pypy-cffi
this warning is harmless.
内容は理解できなかったが、この一文のみを信じて、
我無法理解這些內容,但只相信這句話,
Refer to :
http://manpages.ubuntu.com/manpages/tru ... log.3.html
closelog, openlog, syslog, vsyslog - send messages to the system logger
level
This determines the importance of the message. The levels are, in order of decreasing importance:
LOG_EMERG system is unusable
...
LOG_WARNING warning conditions
...

i.e. this warning would be not able or likely to cause harm to your system.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#7

帖子 寺島聰子 » 2018-02-22 22:45

4-1-1. https://help.ubuntu.com/community/SwapFaq
Optimizing Swap performance Because swap space uses a disk device, this can cause performance issues in any system that uses swap space significantly because the system itself may also be using the same disk device at the same time that it is required for swap operations. One way to reduce this problem is to have swap space on a different physical drive so that the competition for that resource is either reduced or eliminated.
わたしのマシンは単一ハードディスクで、とても古い。
ATA Hitachi HDS72168
SATA 3.0Gb/s
Capacity
80GB
RPM
7200 RPM
Cache
8MB
Average Seek Time
8.5ms
swap space on a different physical drive
か?
附件
Screenshot--dev-sda - GParted.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#8

帖子 poloshiao » 2018-02-22 23:38

swap space on a different physical drive
か?
That means :
If your have two hard disks, /dev/sda and /dev/sdb
Ubuntu system is mounted to a partition on /dec/sda
Then, It would be better to mount swap to some partition on /dec/sdb
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#9

帖子 寺島聰子 » 2018-02-23 0:14

参照
https://help.ubuntu.com/community/SwapF ... ap_file.3F
How do I add a swap file?
1.Swapの利用状況

代码: 全选

m@m ~ $ swapon -s
Filename				Type		Size	Used	Priority
/dev/sda5                               partition	2091004	100236	-1
2.Create the Swap File:
2-1.We will create a 1 GiB file (/mnt/1GiB.swap) to use as swap:

代码: 全选

m@m ~ $ sudo fallocate -l 1g /mnt/1GiB.swap
[sudo] password for m: 
2-2.We need to set the swap file permissions to 600 to prevent other users from being able to read potentially sensitive information from the swap file.

代码: 全选

m@m ~ $ sudo chmod 600 /mnt/1GiB.swap
m@m ~ $
2-3.Format the file as swap:

代码: 全选

m@m ~ $ sudo mkswap /mnt/1GiB.swap
スワップ空間バージョン1を設定します、サイズ = 1048572 KiB
ラベルはありません, UUID=b8d3ba24-8335-43a6-b212-c845a78c8b14
3.Enable use of Swap File

代码: 全选

m@m ~ $ sudo swapon /mnt/1GiB.swap
3-1.The additional swap is now available and verified with: cat /proc/swaps

代码: 全选

m@m ~ $ cat /proc/swaps
Filename				Type		Size	Used	Priority
/dev/sda5                               partition	2091004	179612	-1
/mnt/1GiB.swap                          file		1048572	0	-2
m@m ~ $ 
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#10

帖子 寺島聰子 » 2018-02-23 0:30

お世話になります。ありがとうございます。
別の物理ドライブ上にスワップ領域を作成したほうがいいのか?
147ギガバイトのウインドウズ用ハードディスクを接続して。このハードディスクは普段は接続していない。
(ウインドウズ使用時のみ、手作業で電源コードとsataケーブルを接続する)そのわけは
同時に2台のディスクをスピンさせたくない。1には電気代のため、2には装置がいたむがゆえに。
自分としては、いずれにせよ、遅く古いディスクで、マシンのハードウェア構成が複雑化することに、
二の足を踏むが。
単純に物理メモリをもう1ギガ増やしたほうがと。コスト1000円。
感谢您的帮助。 非常感谢。
我应该在另一个物理驱动器上创建交换区域吗?
连接Windows的147 GB硬盘。 该硬盘未正常连接。
(仅在使用Windows时手动连接电源线和SATA电缆)这就是为什么
我不想同时旋转两个磁盘。 1是由于电费,2是由于干旱造成的设备。
至于我,无论如何,随着较旧的磁盘速度变慢,机器硬件配置的复杂性,
我会向前迈进一步。
只需增加一个演出即可增加物理内存。 成本1000日元。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#11

帖子 寺島聰子 » 2018-02-23 10:28

このmint17.2において、いままでたくさんのwine関連のソフトウェアが(playonLinuxとか)入って、思い通りに動作したり、しなかったり、グチャグチャ。
いったんすべてを削除したい。そしてあらためて最新だけをインストールしたい。
削除の仕方わかりません。
In this mint 17.2, many wine-related software (such as playonLinux) has gotten into it, and it does not work as intended or it is messy.
I want to delete everything once. And I want to install the latest only once.
I do not know how to delete it.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#12

帖子 poloshiao » 2018-02-23 11:07

many wine-related software
I do not know how to delete it.
Refer to :

1. https://www.youtube.com/watch?v=o3_AIQLfX7w
Uninstall or Remove a Program from Wine in Linux Mint

2. https://askubuntu.com/a/390617

3. https://askubuntu.com/a/390625

4. https://wiki.winehq.org/FAQ#How_do_I_un ... cations.3F
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#13

帖子 寺島聰子 » 2018-02-23 20:58

https://kledgeb.blogspot.jp/2016/12/ubuntu-1610-79.html
4.スワップの設定を編集する
4-1.設定ファイルを開く

代码: 全选

m@m ~ $ sudo -i gedit /etc/fstab
[sudo] password for m: 
-bash: gedit: コマンドが見つかりません
m@m ~ $ sudo -i pluma /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

#Entry for /dev/sda1 :
UUID=3fb1c77c-7d46-4243-a955-790755e6023b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0
4-3.スワップパーティションの無効化
スワップ設定の行頭に「#」を挿入します。
# swap was on /dev/sda5 during installation
# UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#14

帖子 寺島聰子 » 2018-02-23 21:40

4-4.スワップファイルの有効化
以下の記述を追記
# swap file
/mnt/1GiB.swap none swap sw 0 0
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#15

帖子 寺島聰子 » 2018-02-24 0:08

5.スワップ領域の確認とスワップパーティションの削除
5. Check the swap area(この翻訳'swap area'に疑問あり。我懷疑這個翻譯'swap area')and delete the swap partition
5-1.スワップの利用状況

代码: 全选

m@m ~ $ swapon -s
Filename				Type		Size	Used	Priority
/mnt/1GiB.swap                          file		1048572	0	-1
m@m ~ $ 
5-4.スワップパーティションの削除

以上!!
附件
Screenshot--dev-sda - GParted.png
回复